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.
You are reinventing a wheel. I don't think it is necessary for this kata to create your own database.
I really liked this Kata too. Though my brain isn't yet getting the recursive solutions right away, this is very helpful to build practice and to trust iterations.
Edit: ok, so I meant list comprehension. Not recursion.
This comment is hidden because it contains spoiler information about the solution