Target sum pair

Submission #9311336
My code is failing test case 2.
How to check that test case?

your code fails for test case like:
6
-3
1
4
3
6
8
9
debug for this