educative.io

Please update the 2nd example

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.

1 Like

Hi @Souvik_Das,

Thanks for pointing this out. This is fixed now.

–Design Gurus team