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.
Yeah, it was my function. My bad😅
Fixed the swap, what do you mean with negative values? That doesn't seem possible. Are you sure it wasn't your function the one that returned negative values because of the swap?
For JS, the actual and expected results are swapped around for the random tests. Sometimes tests expect negative value while other times they do not with the exact same values.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
wait, are you invoking a function within itself? How does it work?
P.S. I'm new don't kill me ;-;