The JavaScript version code according to the Python code in Peter Norvig's article Solving Every Sudoku Puzzle .
Just run node sudo.js, then it will solve all puzzles in puzzles/hardest.txt file.
Related blog: 如何解数独
- Read puzzles in
easy50.txtfile. - Timing function.