Question: a field called grid that refers to a two - dimensional array of integers. This array will be used to store the current contents of
a field called grid that refers to a twodimensional array of integers. This array will be used to store the current contents of the puzzle, such that gridrc stores the current value in the cell at row r column c of the puzzle. A value of is used to indicate a blank cell.a field called valIsFixed that refers to a twodimensional array of booleans. It is used to record whether the value in a given cell is fixed ie part of the original puzzle valIsFixedrc is true if the value in the cell at row r column c is fixed, and false otherwise. For example, in the original puzzle above, there is a fixed in the cell at row column the second cell in the top row and thus valIsFixed would be true for that puzzle.
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
