Question: Have the function MatrixChallenge ( strArr ) read the strArr parameter being passed which will represent a 9 x 9 Sudoku board of integers ranging
Have the function
MatrixChallenge strArr read the strArr parameter being passed which will represent a x Sudoku board of integers ranging from to The rules of Sudoku are to place each of the integers integer in every row and column and not have any integers repeat in the respective row, column, or x subgrid. The input strazz will represent a Sudoku board and it will be structured in the following format: NNNNNxxxx where N stands for an integer between and and x will stand for an empty cell. Your program will determine if the board is legal; the board also does not necessarily have to be finished. If the board is legal, your program should return the string legal but if it isn't legal, it should return the x quadrants separated by commas where the errors exist. The x quadrants are numbered from to starting from topleft going to bottom right.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
