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 will try to review it again, because I haven't been programming for a long time, it's very possible to make a mistake, but when I do a test in my editor with the second test array, I get the correct result, anyway, thanks for the answer.
I fixed it ։)
uhh. it already was using that though.
.. ??
yes, your code works wrong for that test case.
.. go fix it? x)
if you think the test case is wrong then I don't think you looked at the test case, which makes me really confused - why wouldn't you even look at it before posting about it?
This comment is hidden because it contains spoiler information about the solution