FIRST MISSING POSITIVE | LEETCODE # 41 | PYTHON SOLUTION

  Рет қаралды 884

Cracking FAANG

Cracking FAANG

Күн бұрын

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

Пікірлер: 9
@vishnukumartr
@vishnukumartr Ай бұрын
Thanks Bro for the Clear Explanation..
@subee128
@subee128 6 ай бұрын
Thank you very much
@sriharshatenneti2530
@sriharshatenneti2530 Жыл бұрын
Kudos to your explanation, i saw neetcode's solution which actually is made it so much complicated, but you made it such a cakewalk
@crackfaang
@crackfaang Жыл бұрын
No problem, that’s what I’m here for 😃
@YT.Nikolay
@YT.Nikolay 2 жыл бұрын
Hacky, I need it to watch a couple times. Thanks for explanation!
@crackfaang
@crackfaang 2 жыл бұрын
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
@varunshrivastava2706
@varunshrivastava2706 Жыл бұрын
Bro, Now that Facebook has become Meta shouldn't you change your channel name to Cracking MAANG?
@crackfaang
@crackfaang Жыл бұрын
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.
@varunshrivastava2706
@varunshrivastava2706 Жыл бұрын
@@crackfaang yup you are right, keep up the good work!!!
PRODUCT OF ARRAY EXCEPT SELF | LEETCODE # 238 | PYTHON SOLUTION
16:52
Cracking FAANG
Рет қаралды 1,1 М.
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 60 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 9 МЛН
Just In Time (JIT) Compilers - Computerphile
10:41
Computerphile
Рет қаралды 267 М.
First Missing Positive - Leetcode 41 - Python
21:22
NeetCode
Рет қаралды 104 М.
BEST MEETING POINT | LEETCODE 296 | PYTHON OPTIMAL SOLUTION
18:06
Cracking FAANG
Рет қаралды 1,7 М.
K-TH MISSING POSITIVE NUMBER | LEETCODE 1539 | PYTHON SOLUTION
11:00
Cracking FAANG
Рет қаралды 2,5 М.
Advanced C: The UB and optimizations that trick good programmers.
1:12:34
Eskil Steenberg
Рет қаралды 164 М.
LONGEST UNIVALUE PATH | LEETCODE 687 | PYTHON DFS SOLUTION
14:46
Cracking FAANG
Рет қаралды 909
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 857 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 29 МЛН
ноутбуки от 7.900 в тг laptopshoptop
0:14
Ноутбуковая лавка
Рет қаралды 3,5 МЛН
Better Than Smart Phones☠️🤯 | #trollface
0:11
Not Sanu Moments
Рет қаралды 19 МЛН
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 12 МЛН