please check my code this is not passing test case 0 but rest are accepted …
i m not able to debug .
Target sum problem
Consider a case:
5
5
2
3
4
1
6
Your o/p:
1 and 5
2 and 4
3 and 3
Exp o/p:
1 and 5
2 and 4
thanks i got my small mistake