question 1
How many squares does the method check on a board of 8 by 8?
the answer, and why
the answer is C
The method checks squares row by row and goes back 105 times, whenever a row has no square left to try, until every row of the 8 by 8 board holds a queen: 876 checks in all.
if you chose another
- That is every square once. After going back, the method checks some squares again.
- That is one square a row. Rows meet attacked squares first, and going back checks some again.
- That is , the boards with one queen a row and a column.