Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Nice job, later you check the 7x7 exercise https://www.codewars.com/kata/5917a2205ffc30ec3a0000a8/
There is so much more to optimize! :)
A general tip for dynamic programming:
Do you actually need all the rows at any time when you do the state transition from one row to the next?
Usually you don't, and so you don't need quadratic space ;-)
No.
Also, that's not an issue. If you don't get the required algorithm, try harder and don't post an issue about something on your side.