News for hackers. Stuff that matters.
Re:From Sudoku Solver to Program Synthesis by LanceH on Thursday February 21, 2019 @12:22PM (#19218502)
My first attempt did no backtracking at all. It would guess randomly, propagate constraints and continue. If it got stuck, it would just start again. The most it ever took to solve a puzzle was 2100 attempts. Sure it wasn't guaranteed to solve a puzzle in finite time, but it worked well enough for something written during one of those endless big-corp conference calls.
Re:From Sudoku Solver to Program Synthesis by karmakaze on Thursday February 21, 2019 @09:14PM (#19222548)
Technically, this is backtracking... to move 1.