I think several of the solutions to this problem would return a false positive on the vector [1 0 0 2].
I like this problem and I like chess.
Fantastic problem since it offers introductions to graph theory, specifically Hamiltonian path problems, time complexity, neural network solutions, and Warnsdorf's Rule. Thanks
easier than I expected
nice solution!
wtf?
1774||ggl.it :)
interestingly, 1774-ggl == leet-ssh
should change the test suite to also include moves of 1,1 or 2,2 which this solution would not prevent...
Why bother?
679 Solvers
255 Solvers
Find perfect placement of non-rotating dominoes (easier)
252 Solvers
Reverse the elements of an array
702 Solvers
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
791 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!