Statement
Write twoSum(nums, target): return the indices [i, j] (with i < j) of the two numbers that add up to target. If there are several pairs, the one with the smallest j; if there are none, [].
Write twoSum(nums, target): return the indices [i, j] (with i < j) of the two numbers that add up to target. If there are several pairs, the one with the smallest j; if there are none, [].
Write twoSum(nums, target): return the indices [i, j] (with i < j) of the two numbers that add up to target. If there are several pairs, the one with the smallest j; if there are none, [].