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
same idea , wow
Cool one
All hail the almighty recursion!
Wayyy too much free time you have mate :D
It's not a given list, it's a string. Not a kata issue, please read this: https://docs.codewars.com/training/troubleshooting/
Why the
Math
part?This comment is hidden because it contains spoiler information about the solution
I see, this helps a lot. thanks for your help
Your solution instantiates two large arrays every time it's invoked.
Apparently, instantiation of an array with up to 500k elements, 500 times in a row, and deriveing a filtered array out of it every time, turns out to be an expensive operation.
Still quite unsure what cause might be. Anyways, thanks for fast reply!
Please read this paragraph of FAQ: https://docs.codewars.com/training/troubleshooting/#timeout
This comment is hidden because it contains spoiler information about the solution
Readability 10/10
when you rage smash the keyboard and it turns out to be the right solution
Loading more items...