A cycle that uses every edges in a graph exactly once
A undirected graph πΊ = (π, πΈ) has an Euler cycle if and only if πΊ is connected and every π£ β π has even degree.theorem
A directed graph πΊ = (π, πΈ) has an Euler cycle if and only if πΊ is strongly connected and every π£ β π has equal in-degree and out-degree.theorem
Constructing Euler circuit:
Start from any vertex and find a sub-cycle, start and end at this vertex (it exists due to the even degrees assumption)
Remove all edge of this sub-cycle.
Repeat the process at an appropriate vertex until all edges were removed.