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 М.
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 38 МЛН
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 10 МЛН
First Missing Positive - Leetcode 41 - Python
21:22
NeetCode
Рет қаралды 104 М.
Opensource, Uncensored, Unbothered. - Flux.1 Image Gen
18:59
MattVidPro AI
Рет қаралды 13 М.
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 М.
I've been using Redis wrong this whole time...
20:53
Dreams of Code
Рет қаралды 348 М.
LONGEST UNIVALUE PATH | LEETCODE 687 | PYTHON DFS SOLUTION
14:46
Cracking FAANG
Рет қаралды 909
Частая ошибка геймеров? 😐 Dareu A710X
1:00
Вэйми
Рет қаралды 5 МЛН
Look, this is the 97th generation of the phone?
0:13
Edcers
Рет қаралды 8 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,6 МЛН
Новые iPhone 16 и 16 Pro Max
0:42
Romancev768
Рет қаралды 2,4 МЛН