Sudoku solving algorithm C++

前端 未结 4 1683
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 07:04

I\'m trying to make a Sudoku Solving program for a couple of days but I\'m stuck with the methods. I found this algorithm here but I don\'t really understand it:

4条回答
  •  后悔当初
    2021-01-31 07:26

    This is a classic Constraint Satisfaction Problem. I recommend doing some research on the topic to figure out the successful strategy. You will need to use AC-3 ( Arc Consistency 3) algorithm along with the backtracking techniques to solve the problem.

提交回复
热议问题