Hacker News new | ask | show | jobs
by jcsager 178 days ago
We got one of those years ago. I had already written a Sudoku solver using Knuth's Dancing Links, so I modified it to find the Bedlam solutions. The program worked mostly but gave duplicates for some of the solutions. It was also fun to develop solution search criteria for placing the pieces, e.g. to get the reds all down one corner.
1 comments

Haha that's funny, the person that introduced me to programming set me the bedlam cube as a challenge. I used dancing links and later on adapted it to sudoku!