Hierholzer's algorithm (Constructing Eulerian Trails in a Graph Constructing Eulerian Trails in a Graph)

From Algorithm Wiki
Jump to navigation Jump to search

Time Complexity

$O(E)$

Space Complexity

$O(E)$ words

(Keep track of current path + remaining edges needed to be traversed)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1873

Reference

-