i am getting the sample output as shown but in a different order
https://ide.codingblocks.com/s/48899
Triplet-target sum
Hey Aastha ,in this problem you are supposed to print the output in sorted order you can do that in 2 ways either sort the array at start or print the output in sorted order at the time or printing.
thanks a lot.It worked