Array Target SUM Triplet plz check it!

sol - https://ide.codingblocks.com/s/218585

@sudhanshu8917 hey ,apko sare triplet print krne hai ,but apke code me ek hi print hoga kyunki ap triplet sum milne pr print krke return true krrhe ho ,ap return true ki jgah loop ko continue rakho by doing l++,r-- instead of true ,it will work.

it is not getting submitted !!!after making the changes new code - https://ide.codingblocks.com/s/221117

@sudhanshu8917 hey also apka bhar wala loop n-1 tk chalega ,n-2 tk nhi ,please correct that.

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.