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.
import sys
sys.setrecursionlimit(99999)
how ?
What do you mean? The cache is private to
fibonacci
in your solution exactly as suggested by the author.Your solution times out because it has to recompute everything on every
fibonacci
call, not an issue.Private meomization (as requested by the authors) led to timeouts so I had to use a decorator instead.
great, thanks :)
You can change the recursion limit yourself.
I don't think so.
This comment is hidden because it contains spoiler information about the solution