Triplet sum pair


1 test case is failing although output is correct

Hey @sakshi0406
In line 35
rt should be equal to n-1 always