← Questions

3Sum

0
MetaNvidiaCodingLast asked Apr 2026

Return every unique triple of values in an integer array that adds up to zero, with no duplicate triples in the answer. Aim for O(n^2) time after sorting.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding