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
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.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
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
Bruteforce is not the right approach at all. Try something clever which does not generate a bunch of stuff that is gonna be rejected anyway. Generate only the increasing numbers perhaps, not all of them
non-decreseasing order sounds better, than increasing order with possible duplicates. Maybe you could change that to make the description clearer
Python, probably other languages: no actual random tests. The fixed tests are so pathetic that the code only needs 15 cells of memory. This kata needs to be nuked and redone for all languages that have this kind of tests.
It's no longer there, I suggest we forget that it was. Whatever, I don't thihnk that for a 5 kyu it matters that much
Loading more items...