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.
The rules are incomprehensible, even if you read the examples, you need to read until the very end to actually grasp what the kata wants from you.
This comment is hidden because it contains spoiler information about the solution
Why is the expected result for an empty string is an empty array, not an array with a single empty element? There's exactly one way to make an empty string - with zero elements. This choice is so irritating, it's not the first time I see this in a kata that has an empty string as a special case. An empty string usually should NOT be a special case actually. I think returning either
[]
or[[]]
should be allowed for the sake of backwards compatibility, but it should've been only the second one, really. The description speficication of one or more is really weird to me, like why? This doesnt make any sense.I don't have an idea for an algorithm that would be significantly faster than a naive solution.
if you do then go ahead and create a performance version :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I just tried it and it doesnt work. Why did it not get invalidated?
Fixed. Moved from preloaded to both test suites.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
As I recently mentioned on discord, I changed my mind. Do what you think is the best
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
this is the highlight of my day
This comment is hidden because it contains spoiler information about the solution
Loading more items...