Invalid expected o/p


#1

for the test case 2 3 4 5 7 6 and target 9 how is the index 3,4? I had typed this testcase in expected ouput section


#2

The final answer is 1-based array’s indices as it is given in the example of question. If you consider it 1 based , a[3]=4,a[4]=5 which adds up to 9