Array Target Sum Triplets


This is my code. Can someone point out the mistake

@akshat42bajpai, u r not taking care of unique triplets
check the test case :
9
3 3 3 2 2 2 5 5 5
10

How can i resolve that cox in two pair i didn’t checked for uinque why here??

@akshat42bajpai, the question says this time for unique

you can skip the numbers used once

refer this ive commented at skiiping place rest is same : https://ide.codingblocks.com/s/656672

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.