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.
How does it look possible and valid if the very first element was given as 4 and in the solution it becomes 1?
Check the first line: given [4,1,3,2] expected [1,4,3,2], it indeed looks strange 🤷♂️
Now I wonder how was that possible 🤔
What's wrong with it? Seems very possible and valid.