There was an error while loading. Please reload this page.
1 parent 5634947 commit 165b4e5Copy full SHA for 165b4e5
1 file changed
other/dancing_links.py
@@ -1,5 +1,7 @@
1
"""
2
Implementation of the Dancing Links algorithm (Algorithm X) by Donald Knuth.
3
+https://en.wikipedia.org/wiki/Knuth's_Algorithm_X
4
+https://en.wikipedia.org/wiki/Dancing_links
5
6
>>> universe = [1, 2, 3, 4, 5, 6, 7]
7
>>> subsets = [
0 commit comments