One test case is not passed in Target Sum Pair

@Sadaf_khan0107,

Test case:
6
-3
1
2
3
4
5
5

If there is a negative input your code goes in an infinite loop.