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.
I tried copying this code over onto my Vscode and tried to run in line by line. But it doesn't seem to increase the speed of calculating the fibonacci?
I'm not even able to run fibonacci(50) as it just takes too long to load any answer.
Am i supposed to run the function differently? Reading up on decorators, it seems that running
fibonacci(50) is good enough to have the memoization implemented???
Hope someone can answer this question, thanks.