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.
ok thanks all, I will move global variables inside the function, thanks.
I am not sure if there's a misunderstanding.
When I click the ATTEMPT button, on the left hand panel, the system runs a test and the array of numbers above is from that test.
I'm just trying to let Kata know their testing has an error. But I don't know how to report it, if you know how to report the error, please advise, thanks.
there's a mistake in the Kata test because the order of array items should be preserved, instead, the Kata's test below changes the order.
expected '[1,2,1,1,3,1,9,9,1,2,1,1,3,1,9,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0]' to equal '[9,9,1,2,1,1,3,1,9,9,0,0,0,0,0,0,0,0,0,0]'