Overview
Dancing Links handles exact cover search by using linked-list removal and restoration to implement Algorithm X efficiently.
Dancing Links handles exact cover search by using linked-list removal and restoration to implement Algorithm X efficiently.
Compact metadata for implementation and discovery.
Dancing Links handles exact cover search by using linked-list removal and restoration to implement Algorithm X efficiently.
Quick facts
Runtime and memory behavior at a glance.
Best
O(1)
Average
O(n)
Worst
O(n)
Space
O(1)
Show using linked-list removal and restoration to implement Algorithm X efficiently on a small exact cover search example.
Dancing Links operates in O(n) time and O(1) space within the Exact Cover family. Often compared with Greedy Set Cover and Algorithm X.
What each reference supports for this entry.
Original paper describing reversible linked-list updates for efficient Algorithm X exact-cover search.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Optimization · Core
Dancing Links uses Algorithm X as a subroutine, representation, or supporting idea while using linked-list removal and restoration to implement Algorithm X efficiently.
Compare with thisOptimization · Core
Dancing Links and Greedy Set Cover both relate to exact cover search, but use different structures or assumptions.
Compare with thisDancing Links and Greedy Set Cover both relate to exact cover search, but use different structures or assumptions.
Dancing Links uses Algorithm X as a subroutine, representation, or supporting idea while using linked-list removal and restoration to implement Algorithm X efficiently.
Dancing Links and Branch-and-Bound Set Packing both relate to exact cover search, but use different structures or assumptions.