TargetSumPair Question

last test case not passing .Could not find any error.

hey @RULEREMPIRES
code is fine just a change
while(left<right)
instead of while(left<=right)
correct code