Target Sum Triplet Array

understand the logic but code not work properly

hi @sudhanshukrmfp_acfc313069fd8e87 i cant see any submission please share the code here (ide.codingblocks.com) or refer https://ide.codingblocks.com/s/656672 ive commented the code (but before this u need to understand 2 sum properly)

no testcase pass by your given code

@sudhanshukrmfp_acfc313069fd8e87 in print statement u need to add “,” & and
change that line by
cout<<first<<", "<<second<<" and "<<third<<endl;

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.