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.
don't know what to do with the first basic question
not correct [], 1 given - Expected: [], instead got: ["foo","bar","foobar","barfoo","foofoo","barbar"]
why fun(arr, 1) should return an empty array?
I passed all the test cases, only failed at this one.
anyone?
That's true. I didn't search for similar task before I publish.
thx for your feedback
Thanks for your feedback. I'll add expected and return value for failed test cases asap.
The output
["b", "c", "a", "d", "e"]
forarr.move(0,2)
seems to be right, not really sure what's the problem here. maybe there's some issue with my test function? I use this function to check if the output array is correct or not.use case: