Interview Questions

Write a code to implement the Sodoku problem .....

Software QA/Tests Interview Questions from Microsoft


(Continued from previous question...)

Write a code to implement the Sodoku problem .....

Question:
Write a code to implement the Sodoku problem.
Lets say you have a matrix of 9*9 and i can have valued from 1 to 9.
the rules are as below:
1. all the 3*3 matrix shouldn't have any duplicate number.
2. all the rows and columns can't have duplicate numebers.
3. all the diagonal elements in the 9*9 matrix can't have duplicate number.



maybe an answer:


en.wikipedia.org/wiki/Algorithmics_of_sudoku

(Continued on next question...)

Other Interview Questions