Snippets tagged sudoku

  • "99 OCaml" #83 Sudoku solver

    Every spot in the puzzle belongs to a (horizontal) row and a (vertical) column, as well as to one single 3x3 square (which we call "square" for short). At the beginning, some of the spots carry a single-digit number between 1 and 9. The problem is to fill the missing spots with digits in such a way that every number between 1 and 9 appears exactly once in each row, in each column, and in each square.

    2 people like this

    Posted: 2 years ago by Tomas Petricek