In an array of integers, find all triplets that sum up to 0.
Problem Statement:
https://leetcode.com/problems/3sum/
Code:
https://github.com/levanroinishvili/Beautiful-TypeScript/blob/master/LeetCode/015/015.ts
Contents:
00:00 Problem statement
02:05 Brainstorm
07:32 getPairs declared
09:43 threeSum implemented
19:20 getPairs
28:55 Debugging Confusion
33:22 Bug found
34:58 Verdict