This method checks if the given sudoku board represented as a 2D character array is valid. It does this by counting the occurrences of each number 1-9 in each row, column and sub-box of the board and returns false if any number occurs more than once.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
14 views1 page
Tree Solution
This method checks if the given sudoku board represented as a 2D character array is valid. It does this by counting the occurrences of each number 1-9 in each row, column and sub-box of the board and returns false if any number occurs more than once.