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.
absolutely incorrect examples and tests. if 0 is not odd (according to task description) we should sort elements 1,3,5 etc. Seems in sample and tests elements 0, 2, 4 are sorted. it's incorrect. and according to description we should sort ascending, but in sample and tests seems sorting is descending. Am I wrong?
This solution will throw ArrayIndexOutOfBoundsException if n will negative