only 2 test cases pass other are remaining i dont know my code is correct still test case is not passed
2 sum array problem
Hello @be.rajshah,
Your code is failing for test cases like:
-
5
9 4 5 6 7
4
9 2 2 1
Expected Output:
1, 0, 3, 7, 8, 8, END
Your Output:
10, 3, 7, 8, 8, END -
4
9 4 5 6
4
9 2 2 1
Expected Output:
1, 8, 6, 7, 7, END
Your Output:
18, 6, 7, 7, END
Hope, this would help.
Give a like if you are satisfied.
Thanks virender bhaiya