Hierholzer Algorithm

Detects Eulertour.

Time Complexity: O(E)\mathcal{O}(|E|)

Example

Bildschirmfoto 2022-06-02 um 14.36.06.png