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.
Looks like you got your answer, closing.
Dude, your way is too long. Maybe you should find another way to solve this problem without changing the original array? :)
Hint: note that the ranks of adjacent knights are always different, and when Galahad comes, a same pattern happens
I hate implicit coercion.
Think of math equations. What is equal to what? Theres two key ones you need to know.