How about adding a test suite where some of the cell entries are 2-D?
Most of the solutions will not be affected by this update.
Test 7,10 and 11 are fake, you have to correct these problem
In Test 7 : 1->2->4->5->6->40->41->42. So a path exists to go through the structure, even if we don't have a global increase in the cell.
At the beginning this problem was just a test to practice recursive algorithms. I am fed up with always factorial and fibonacci examples. Maybe some others problems will follow.
DNA N-Gram Distribution
Side of a rhombus
Divisible by 3
Height of a right-angled triangle
Return a list sorted by number of consecutive occurrences
Can you beat the lottery again (for hardcore coder) ?
Pandigital number n°1 (Inspired by Project Euler 32)
Narcissistic number ?
Mirror, mirror on the wall, who is fairest of them all?
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