02.03 · Problem
3Sum
This problem is part of solulu Pro
Given an integer array nums, return every distinct triplet [a, b, c] of values taken from three different positions such that a + b + c = 0. The result must not contain the same triplet twice. Triplets and the values…
Lifetime ₹1,999 ₹999 · Launch offer
Item 12 of 150 · updated 2026-10-12