MENU

Fun & Interesting

3-Sum | Leetcode 15 | PYTHON POINTER SOLUTION

Cracking FAANG 1,731 2 years ago
Video Not Working? Fix It Now

Discord Link: https://discord.com/invite/s8JX2ARnSg Problem Link: https://leetcode.com/problems/3sum/ In this video we are going to be doing a classic Leetcode question: 3-Sum (Leetcode 15). No, not that kind of thressome, get your head out of the gutter... This is a pretty fun question and definitely an easy one to wrap your head around. There's some things we need to be cautious of given the requirement to avoid duplicates but nothing we can't solve. TIMESTAMPS 00:00 Intro 00:07 Question Prompt 00:26 Basic Example 01:37 Solution Intuition 09:32 Coding 16:15 Time/Space Complexity 18:30 Outro

Comment