-
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
-
303 Solvers
-
890 Solvers
-
Return the first and last characters of a character array
10467 Solvers
-
750 Solvers
-
Sum of first n positive integers
592 Solvers
More from this Author5
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!