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.
I agree, looking at this I can't really understand the math/algorithm behind this.
Especially as a beginner in programming this kind of solution is hard to read.
I know this is old, but can someone explain where the s comes into play?
I know the left side s is the parameter but the right side s is what is returned, but how does that return if the vale is true if there is only the parameter.
This comment is hidden because it contains spoiler information about the solution
Could someone explain to me how this solution works?