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 would recommend reading about optimisation generally. Its not a topic i could simply give a magic solution for. Especially not without seeing your code. Memoisation may be helpful, you could look into that.
If that doesnt work, try asking chatgpt about general optimisation and keep feeding it more information about your code until it tells you something you can work with. Try not to just straight up ask for an answer though, thats cheating - just ask what directions you could look into.
i agree, it should be 5kyu
The whitespace strippig makes sense to me, a sentence tends not to end in whitespace, right?
I would not say one letter variables are best practice.
This basic explanation should be in the instructions. Thanks
Love the randomized test cases here 😂
Testing for bool_to_word(False)
Testing for bool_to_word(False)
Testing for bool_to_word(False)
Testing for bool_to_word(True)
Testing for bool_to_word(False)
etc etc
perfection
no u
impressive :)
I agree. The only difference is, for this one "0" is specified as needing to return false. Otherwise, it is the exact same.
This is indeed an issue with this kata. The description is bad. So that is a problem that needs fixing.