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.
all languages edited
we need better random test generators (EDIT: javascript fixed and random tests updated)
and you should, this is a 4 kyu after all
ofc, you can change the tests if that's needed.
That's not intended but I guess I can't do anything with it 😂
My solution is faster than that, so I guess I can further raise
n
or make timer stricter.But probably not after this kata being approved.
Your solution will stay. Those solutions were not intended.
FYI, my optimized solution takes < 0.5 sec for both 3 secs tests.
I won't give this kata a math label.
All you need is something that will be taught in a dsa lecture.
So it's not hard, I suppose.