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
your approach is good but I guess you missed the very same "micro"-optimization that I did => try to think about something that you may currently be doing again and again and that you could avoid.
You are 14.0 times faster than the naive solution (100 nodes)
You are 143.0 times faster than the naive solution (1000 nodes)
Execution Timed Out (12000 ms)
I just... how?! This is also with a lot of debug code. Normally it's closer to 20x for the first 100 nodes