In test case 2 of array sum triplets

its showing the no- output, where as i downloaded test cases and checked and it is working.
https://ide.codingblocks.com/s/85296 here is the code.

use inbuilt sort function instead of writing your own sort function as that has higher complexity as compared to inbuilt sort function.


i have added comments. you can check

hey , you just added a sort function instead of me writing my own function to sort the array. how does that help? my own sort function(though longer) was working fine. why is my test case not passing was the question? the input given in the test case was 1,2,3,6 and it gives the output perfectly.