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.
WEII DONE!!
solidno
great
Case
n = 0
now added to the description notes.I also changed the examples formatting.
Please let me know if there is anything else I can improve. Thank you!
Updated. Thank you!
Thanks for the feedback. This is my first kata.
I agree that the
n=0
case must have a separate description.Sorry I didn't get it. Can you provide an example?
This comment is hidden because it contains spoiler information about the solution
Result for
n = 0
is not specified in the description. Examples are not specifications. ( It's also a ridiculous special case, as mentioned below. )So the output is either an array of chunks or an array of the items themselves (if n is zero). It doesn't make sense. What would a caller do with such a result?
Please use spoiler flag next time.