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
-
28213 Solvers
-
4555 Solvers
-
839 Solvers
-
Solving Quadratic Equations (Version 1)
494 Solvers
-
352 Solvers
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!