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 understood this time. the input was actually null. i got it thenk you for helping.
printing also says "null". cant't understand what this means.
whats wrong with it. passes all the tests except one which says "can't read property length of null". not showing the input for which this error is appearing.
Something wrong with this Kata. My code passes all 50 tests except one for input [20,10,-80,10,10,15,35] which expects 0. but according to question o/p must be equal to -1. the o/p will be 0 only if the number 20 on the 0th index is removed. please correct me if i'm wrong.