PRACTICE / UNDERSTAND / REPEAT

Data Structures & Algorithms practice question

Practice graphs with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

1 questionAnswers explainedFree · no login

Try this question

Graphs · MCQQuestion link ↗

An undirected simple graph has 4 edges. What is the sum of the degrees of all vertices?

Choose one answer
Answer & explanation

Answer: 8

Every undirected edge contributes one to the degree of each endpoint.