Рет қаралды 884
In this video we are solving an interesting problem with a very strange solution: First Missing Positive (Leetcode # 41).
This is one of those questions where you probably won't figure out the solution on your own unless you've seen this before or are a serious big brain. Watch this video once and you're sorted though!
TIMESTAMPS
00:00 Introduction & Question Prompt
00:28 Basic Examples
01:25 Naive Solutions (Don't Use These)
03:00 Optimal Solution + Diagram
13:38 Coding
20:15 Time/Space Analysis
23:10 Outro