-
3 Comments
Andrew Newell
on 25 Apr 2014
The beauty of this solution is that you can use it for any other side board (e.g., isEightQueensSolution([1 0; 0 1]) ).
MatlabEnthusiast
on 31 Aug 2015
how can i view this solution, also, can you please explain to me why the tenth test case is false, i dont think it is wrong.
Steve Eddins
on 1 Sep 2015
Alex, the tenth case case is false because there are only seven queens on the board.
Suggested Problems
-
Find the alphabetic word product
3373 Solvers
-
423 Solvers
-
Check if number exists in vector
12257 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
484 Solvers
-
1168 Solvers
More from this Author5
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!