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

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