Three sum: unique value triples

0
Remix

Return every unique triple of values from an integer array that sums to zero (or to a given target), with no duplicate triples in the output. Sort, then fix one value and move two pointers, skipping duplicates.

GoogleMicrosoftCodingLast asked Sep 2026
No answer yet. Write the first one; the best answer gets endorsed.