Target-Sum triplet

I am not getting the desired output. But unable to find the mistake.

Check now.

1 Like