Target Sum Triplets

My program is failing. please help.

u need to have the condition defined on line 31 and 32 of the above code
u need to movee to the right till the already included character is equal to next character so that duplicate combination are not includedd
also the output


an additional space after ', ’

Got it!! Thanks a lot!!! :smile:

1 Like