FIRST MISSING POSITIVE | LEETCODE # 41 | PYTHON SOLUTION
Vložit
- čas přidán 5. 07. 2024
- 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 - Věda a technologie
Thanks Bro for the Clear Explanation..
Thank you very much
Kudos to your explanation, i saw neetcode's solution which actually is made it so much complicated, but you made it such a cakewalk
No problem, that’s what I’m here for 😃
Hacky, I need it to watch a couple times. Thanks for explanation!
Yea it's ridiculous but if you think about each iteration through the array it makes sense. One of those questions that once it clicks for you it makes sense forever
Bro, Now that Facebook has become Meta shouldn't you change your channel name to Cracking MAANG?
Haha and redo all my videos? Nah everyone knows it as Facebook. Meta is the parent company, nobody at Google says I work at Alphabet Inc.
@@crackfaang yup you are right, keep up the good work!!!