One test case is not passed in Target Sum Pair
Test case:
6
-3
1
2
3
4
5
5
If there is a negative input your code goes in an infinite loop.
Test case:
6
-3
1
2
3
4
5
5
If there is a negative input your code goes in an infinite loop.