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.
Glad you enjoyed ;-)
Yes, if you click attempt, I can see your current solution so far.
Your code is similar to bubble sort. Bubble sort is one of the slowest sorting algorithms, so no surprise that your code is very slow. Try using less for loops and ecspecially not switching each one.
You are failing the previous test. On the first line of your function print the input to see where you are failing.