In the example, and in the first problem of the testsuite, perhaps it should read r=3; c=3 (instead of r=3; c=4)? Also some of the testsuite problems seem to have multiple solutions (non-unique shortest-path solution)...
Yes.. totally screwed up in test 1, 4 and 7. Will fix within today.. thanks
Fixed the test suite and example in the statement. Looks clean now :)
19674 Solvers
Calculate the area of a triangle between three points
986 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
4213 Solvers
2531 Solvers
Factorions: Numbers that equal the sum of the factorials of their digits
47 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!