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 :)
Determine if input is odd
Calculate the area of a triangle between three points
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Dimensions of a rectangle
Factorions: Numbers that equal the sum of the factorials of their digits
FIFA World Cup 2014 : Offside
Neither minima nor maxima
Diagonal of a Spiral Matrix
Collaborative Fun : Nomination
row-th maximum row elements
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office