Target sum triplet problem

why this code is not working?

@Imsbajetha There we only a minor bugs in your code. I have removed those and I am adding the link to the modified code here. I have mentioned the problems with in the comments of the code. Hope this helps.

1 Like