Ad
  • Default User Avatar

    return the first two values (parse from the left please) in order of appearance that add up to form the sum.

    The first pair is clearly [1, 3] and this solution will return that value. So no issue.

  • Default User Avatar

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