Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 330 Bytes

3Sum.md

File metadata and controls

13 lines (8 loc) · 330 Bytes

3 Sum - Problem 15 - Leetcode

Question

Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.

Notice that the solution set must not contain duplicate triplets.


Solution

3Sum.py