2 ms·
Very fun read! My first try at implementing DLX was for sudoku, as well. I keep meaning to add something showing why it backtracked at a particular spot. Is
by taeric 1y ago
Very fun read! My first try at implementing DLX was for sudoku, as well. I keep meaning to add something showing why it backtracked at a particular spot. Is fun watching the numbers it tries along the way.
And if you haven't seen it, Knuth has a whole section on puzzles in his newer writings. Always fun to flip through.
(If you want to see the numbers fill up, I have that at https://taeric.github.io/Sudoku.html https://taeric.github.io/Sudoku.html)
- mcphage 1y ago> Knuth has a whole section on puzzles in his newer writings That sounds really interesting—can you share which book / fascicle / article that's at?
- taeric 1y agoParts of https://www.informit.com/store/art-of-computer-programming-volume-4b-combinatorial-9780201038064 https://www.informit.com/store/art-of-computer-programming-v... are covering DLX and friends, if I have the link correct. (Linking to his publisher's page, as I think that is his preference.) On his homepage, he also links "A Potpourri of Puzzles" at https://cs.stanford.edu/~knuth/fasc9b.ps.gz https://cs.stanford.edu/~knuth/fasc9b.ps.gz.
- mcphage 1y agoThank you!