Data Structures & AlgorithmsModerateICPC regional · graph theory

Problem: Which property must a graph have for Euler's theorem to guarantee an Euler circuit?

  1. A. Acyclic
  2. B. Bipartite
  3. C. Connected, with every vertex of even degree
  4. D. Complete

Correct answer: C. Connected, with every vertex of even degree

Euler circuits exist exactly when the graph is connected and all degrees are even.

More Coding Interview Problems questions

Exams that ask this topic