Asif -- In the last problem of the test suite, there are two different paths through the matrix that lead to the same minimal summation.
oh..didn't see that
William,
I've commented out the last test suite.
can u kindly point out the other path u're getting?
The alternate path is:
[1 11 21 22 32 42 43 44 45 55 56 66 76 77 78 79 89 90 100]
163 Solvers
96 Solvers
middleAsColumn: Return all but first and last element as a column vector
390 Solvers
412 Solvers
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!