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.
any source?
You could also try the filter method or recursion to solve this :)
yeah, i thought about regex before anything, than i tried the for loop.
It's also good to expand on your knowledge and practice all methods of solving as well, regex being one of them even if they are slower :)
regex can be 87% slower than own implementation using for loop. shouldnt matter tho. gg