This solution is outdated. To rescore this solution, sign in.
-
1 Comment
Jonathan
on 10 Jan 2020
The first test case is incorrect. The null path (starting and ending at the same place) is a solution. The 1x1 case should have 1 solution.
Suggested Problems
-
Solve the set of simultaneous linear equations
435 Solvers
-
512 Solvers
-
748 Solvers
-
Sum the numbers on the main diagonal
590 Solvers
-
find the maximum element of the matrix
511 Solvers
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!