Example 2:
Input: [2, 5, 9, 11], target=11
Output: [0, 2]
Explanation: The number at index 0 and 1 add up to 11: 2+9=11
^
here the index should be 0 and 2. Please update.
Example 2:
Input: [2, 5, 9, 11], target=11
Output: [0, 2]
Explanation: The number at index 0 and 1 add up to 11: 2+9=11
^
here the index should be 0 and 2. Please update.