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.
No, the 2nd sentence implies that recursion is not needed since we have stored the pre-computed result in a specific data structure, and we only need to fetch that data from it upon needing it.
Also, your solution should be using memoization O(1) complexity instead of O(N)
upd: 3 kyu
12 kyu
4 kyu
first cite means we got a previous values
second cite means it is still advisable to use recursion, but why?
mein gott...
kinda bad practice :/