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.
Wow I like how cleverness of this solution does not kill the readability.
Bravo!
Yea I also like the use of Math.min and Math.max.
It is clever.
I found the problem.
It turned out argument provided by the test had trailing space which is not easy to spot.
So technically it is my bad.
I did. I cannot see anything that could help.
I copied test arguments from "Attempt" and pasted them into Sample Tests.
So again the SAME test passes at "Test" and fails at "Attempt".
Locally in IDE it also passes.
I do not hit max call stack or something similar. I've checked already all points from the documentation.
This comment is hidden because it contains spoiler information about the solution