Ad
  • Default User Avatar

    I will try to review it again, because I haven't been programming for a long time, it's very possible to make a mistake, but when I do a test in my editor with the second test array, I get the correct result, anyway, thanks for the answer.

    I fixed it ։)

  • Default User Avatar

    uhh. it already was using that though.
    .. ??

  • Default User Avatar

    yes, your code works wrong for that test case.
    .. go fix it? x)
    if you think the test case is wrong then I don't think you looked at the test case, which makes me really confused - why wouldn't you even look at it before posting about it?

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution