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 :)
12392 Solvers
Sum all integers from 1 to 2^n
8426 Solvers
Arrange Vector in descending order
4087 Solvers
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
513 Solvers
Van Eck's Sequence's nth member
291 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!