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.
alexshavlovsky.........
dang what a nice answer bro
really hard for my brain to chew tho hahaha
it is possible, but the tests will not pass in all cases and not for all data. And since the data is generated dynamically, the complexity of sorting varies, as well as the correctness of the final sample.
This comment is hidden because it contains spoiler information about the solution
What about mine? It's the replaceAll complementary
Long live to regex assertions
Maybe you want to add this to the description or does it 'spoil' too much?
Same goes for mine.
Thank you.
If I read test cases correctly, you are half way through as there's ~600 tests.
Well done sir!
nice.
@alexshavlovsky -- this is a good edge case suggestion; I wish I had thought of it while I was writing this kata. I'm not sure if I will be adding it, considering the number of kata completions at this time.
"efficiency" is generally related to time complexity, not space. ;) (but I have some extra layers there too, yes)
Thanks for the suggestions. I'm currently rather busy, so I'm not sure when I can come back and act on your advice, but I'll keep it in mind.
I know it's a little late, but I did adjust the tests just a bit. Goodluck.
This comment is hidden because it contains spoiler information about the solution
Loading more items...