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.
I solved it in different ways in either Python and Javascript, without hardcoding anything. what language are you using?
@chucklesoclock
0.0 is a number, '0' is a string.
This comment is hidden because it contains spoiler information about the solution
looking at the test cases seems like we need to change the order in the initial array, not return a new array with swapped values.