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.
Your solution returns incorrect answer for input:
[1, 7]
and[1, 8]
.When the CAPS key has been pressed, uppercase gets swapped with lowercase and vice versa.
As for the error messages, they don't show the input, only what is expected and what they got from your solution.
You can view the input by trying to print to the console.
BTW, you should look through some other comments to see if anyone has had the same problem in the past.