Backtracking algorithms are used to find all (or some) solutions that satisfy a constraint. Backtracking builds a solution step by step, using recursion. If during the process it realizes a given path ...
Originally written in PHP. In 2026 it was rewritten in JavaScript; the PHP version is on the feature/php branch. The solver walks the grid cell by cell. On a blank it tries 1–9, keeps any digit no ...