Arrays-Target Sum Triplets one test case fail

https://ide.codingblocks.com/s/51432 one test case fail what wrong in code kindly suggest me to resolve

Hey Neeraj, for some of the cases order of your output is not correct, so to resolve that sort the array first then find the triplets.

ok i have to sort first then i have to apply loop

Yes to get the correct order of output you are supposed to do so. :slight_smile:

done @sanjeetboora thank you so much