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.
Thanks so much! I understood my mistake and my solution is correct now! Finally I did it!
(Java) Hello! I have unpassed test here: "Index 29 out of bounds for length 29". I don't what does it mean and what i have to change. But in IntelliJ Idea my code works every time with any numbers, actually i took numbers with different length. Can someone tell what about this test?
my first question:
sorry, i was meaning how can i define maximum sum if i even don't know what does our array consist of(certain numbers)? And smoothly moving on to the second question we don't know about sum of our subarray and accordingly about length of our subarray. So how can i figure out sum if i don't know number of values my subarray? As i understand we can find out sum if we know number of values of subarray(this is standart algorithm), but we dont't know that.
ok, almost full part of task i understood. But how can i find out maximum sum? I have to come up with myself? And how have i to define length of subarray initially?
Can someone tell me what i have to do exactly? I can't figure out which subarray sum i need to calculate.