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.
True, but a power or square root operation is a very expensive operation.
I wrote the explanation keeping in mind a recursive solution is being attempted.
Nevertheless, I've worded it slightly differently, but I don't know whether it is sufficient.
On step 4, the description refers to n, as if it's still the initial number given as an argument. However, it's actually the result of the previous computation.
Description is too vague. The coder spends more time trying to guess what the author wants. A lot of information is missing or confusing. The discussion gives most of the details that still need to be fixed.