more test cases needed
unless I am misunderstanding, y_correct should be 2 for test #2 (e.g. path 1-2-1)
Yes. I corrected it. Thanks :)
337 Solvers
Back to basics 22 - Rotate a matrix
763 Solvers
Flip the main diagonal of a matrix
506 Solvers
Simple date to serial no. conversion
113 Solvers
2317 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!