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.
nice bro, it was a more harder 7 kyu ngl
Thank you for your response
JavaScript
Unspecified AssertionError
when failing, which is very unhelpful for troubleshootingThis comment is hidden because it contains spoiler information about the solution
The message is telling you your solution returned 2 for that input. The correct answer is, indeed, 1.
I really not understand where is the mistake, is only 1 change from negative to positive arr[3-4]
Input: [-2,-2,-5,-4,5,2,0,6,0]
Assertion: expected 2 to equal 1
I'm a beginner. I had to spend 2 hours on this kata, it was hell for me, but I'm glad I got through it.