Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme
Algorithm

Fleury's Algorithm

Graph Algorithm

Fleury's algorithm is an older method for finding an Eulerian circuit or Eulerian path in a graph by walking across edges one at a time and removing each edge once it has been used. At every step the algorithm avoids crossing a bridge, an edge whose removal would disconnect the remaining unused portion of the graph, unless crossing a bridge is the only option left at the current vertex, since burning a bridge too early can strand unused edges in a piece of the graph the walk can no longer reach. Fleury described the technique in 1883. Because checking whether an edge is currently a bridge takes real work and that check must be repeated at every step of the walk, the algorithm runs in time proportional to the square of the number of edges in the graph, considerably slower in the worst case than the linear-time Hierholzer's algorithm that is generally preferred today.

Facts
Time Complexity
Time Complexity (category)
Quadratic Time -- O(n^2) 1
Classification
Design Technique
Greedy 1
Connections

In Field

Source Eulerian path (Wikipedia)

Uses Design Technique

Entity-backed identity for the design-technique enum value this algorithm already carries, resolved to a computing concept by an explicit value-to-entity map (phase 3 bucket conversion, docs\design_entity_backed_browse_buckets_20260928.md). The design-technique fact itself stays on the algorithm unchanged.

Sources
1. Fleury's Algorithm (Wikipedia)
  • Wikipedia infobox: time complexity quadratic
    quadratic
  • Wikipedia: design technique greedy
    greedy
View the Source
Eulerian path (Wikipedia)
In Field: Algorithms and Complexity Theory, Lead paragraphView the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.