~/ learn/ comp-456/ cards/ State-Space Search: Graphs, FSMs & BFS/DFS
1 of 22

Euler-path condition: an Euler path (cross every arc exactly once) exists only if the graph has exactly how many odd-degree nodes?

Euler-path condition: an Euler path (cross every arc exactly once) exists only if the graph has exactly how many odd-degree nodes?

Answer

zero or two

An odd-degree node can only be a start or end of the walk; with more than two such nodes (Königsberg has four) no single Euler path is possible.

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/aea0140b-ce3b-4146-8d91-3fcf972bb833/flashcard utf-8 LF