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.
This comment is hidden because it contains spoiler information about the solution
but I don't think this is memorized
Any tip you could give on what kind of optimization we should be looking at?
I tried a naive memoization and, of course, the timeout is still there.
I gave up some days ago on some haskell codegolf-like challenge (Weak Primality Test) and I don't want to make throwing in the towel a habit :D