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.
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?
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