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.
you should consider the cases with invalid parameters which probably give you an infinite loop
This comment is hidden because it contains spoiler information about the solution
Yes, C++
How comes I'm failing the test then, if my answer is 1?
And what does "Expected: equal to -1" mean then?
This comment is hidden because it contains spoiler information about the solution
God I wish programmers could express their thoughts like a human beings
He is a man of focus, commitment, and sheer fucking will
holy shit, that's genius