Problem 45457. Minimal Path - 02
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
William
on 15 Apr 2020
Asif -- In the last problem of the test suite, there are two different paths through the matrix that lead to the same minimal summation.
Asif Newaz
on 16 Apr 2020
oh..didn't see that
Asif Newaz
on 16 Apr 2020
William,
I've commented out the last test suite.
can u kindly point out the other path u're getting?
William
on 16 Apr 2020
The alternate path is:
[1 11 21 22 32 42 43 44 45 55 56 66 76 77 78 79 89 90 100]
Lincoln Poon
on 17 Jun 2021
Here's another alternate path for the last test suite (magic(10)).
[1 2 3 13 14 24 34 35 45 55 56 57 58 68 69 70 80 90 100]
Problem Recent Solvers9
Suggested Problems
-
1906 Solvers
-
83 Solvers
-
find the maximum element of the matrix
443 Solvers
-
643 Solvers
-
77 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!