https://thecodeforge.io/dsa/eulerian-path-circuit/
Eulerian Path and Circuit — Hierholzer's Algorithm | TheCodeForge
Learn Eulerian paths and circuits. Understand the necessary and sufficient conditions, Hierholzer's O(E) algorithm, and solve the Seven Bridges of Königsberg
eulerian pathand circuithierholzeralgorithm