Ad
  • Default User Avatar

    Thanks so much! I understood my mistake and my solution is correct now! Finally I did it!

  • Default User Avatar

    (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?

  • Default User Avatar

    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.

  • Default User Avatar

    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?

  • Default User Avatar

    Can someone tell me what i have to do exactly? I can't figure out which subarray sum i need to calculate.