Brute force Algorithm for creation of Sudoku Board

前端 未结 6 1879
我寻月下人不归
我寻月下人不归 2021-02-09 12:59

What I am developing is that initially the entire sudoku board is empty. One of the random cells(out of 81) is filled with a random value(1-9).

Now I want to fill all

6条回答
  •  后悔当初
    2021-02-09 13:50

    I recently did a series in my blog on creating a Sudoku solver in C#; you can probably adapt the simple backtracking algorithm I present to your purposes.

    http://blogs.msdn.com/b/ericlippert/archive/tags/graph+colouring/

提交回复
热议问题