LeetCode
3Sum
Click
here
for an explanation.