Sudoku: Difference between revisions
m
moved commentary outside the code block.
m (Added space to subsection headline.) |
m (moved commentary outside the code block.) |
||
(One intermediate revision by the same user not shown) | |||
Line 10,081:
=={{header|Python}}==
See [http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/python/sudoku/ Solving Sudoku puzzles with Python] for GPL'd solvers of increasing complexity of algorithm.
===Backtrack===
A simple backtrack algorithm -- Quick but may take longer if the grid had been more than 9 x 9
Line 10,169 ⟶ 10,171:
</syntaxhighlight>
A Sudoku solver using search guided by the principles of wave function collapse.
Line 10,233 ⟶ 10,235:
</syntaxhighlight>
This solver found the 45 unknown values in 45 steps.
=={{header|Racket}}==
|