give integer array num return triplet numsi numsj numsk j k j k numsi numsj numsk 0Notice solution set contain duplicate triplet Example 1input num 101214output 112101explanation nums0 nums1 nums2 1 0 1 0nums1 nums2 nums4 0 1 1 0nums0 nums3 nums4 1 2 1 0the distinct triplet 101 112notice order output order triplet matterexample 2input num 011output Explanation the possible triplet sum 0example 3input num 000output 000explanation the possible triplet sum 0 constraints3 numslength 3000105 numsi 105