realAlgoMonster / contrib

Contribute test cases for problems on AlgoMonster (https://algo.monster)
7 stars 8 forks source link

Two Sum Sorted #126

Open ashkanent opened 8 months ago

ashkanent commented 8 months ago

Input

-5 -1 0 3 8 10
8

Output

2 4

Why this test case? I did solve the problem and it passed your test cases. Later I realized the solution was incorrect and it would've failed the above test case. Your solution works for this.