From a list of integers, return every distinct triplet whose sum equals a target — each element used at most once in a triplet, and no duplicate triplets.
From a list of integers, return every distinct triplet whose sum equals a target — each element used at most once in a triplet, and no duplicate triplets.
Opens with the full question.