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 description says:
if my code not allow empty elements, test fails with:
Expected: ["bdf", "hjl", "nps", "eek", ""], instead got: ["bdf", "hjl", "nps", "eek"]
if change my code to allow empty elements, the above test works, but another test fails with:
Expected: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut"], instead got: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut", ""]
what's the pattern? allow empty elements or not?
In the 1st case you should have 5 parts, you got 4; in the snd you should have 5 parts but you got 6.
last element empty or not?
Expected: ["bdf", "hjl", "nps", "eek", ""], instead got: ["bdf", "hjl", "nps", "eek"]
Expected: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut"], instead got: [" xscOp", "zvygqA", "ftuwud", "adaxmh", "Edqrut", ""]
thanks, description is confusing