LONGEST VALID PARENTHESIS | LEETCODE # 32 | PYTHON OPTIMAL SOLUTION

  Рет қаралды 6,351

Cracking FAANG

Cracking FAANG

Күн бұрын

Пікірлер: 16
@samuraijosh1595
@samuraijosh1595 11 ай бұрын
you say this isnt actually hard haha but what i find hard is finding the intuition that tells us thatt we may have missed some valid parenthesis when we parse it only from left tor right. the left, right pointers is not the hard bit understand, the right to left parsing is.
@austinmann4023
@austinmann4023 6 сағат бұрын
(()(((() here is an example, idk why he didn't include
@harshal9783
@harshal9783 4 ай бұрын
instead of saying that a right to left parsing is required, you should have given an example for the same; it helps in understanding the logic better
@austinmann4023
@austinmann4023 6 сағат бұрын
(()(((() here is an example, idk why he didn't include
@shawnpark5939
@shawnpark5939 Ай бұрын
solution itself is easy to understand but i'm still not understanding a input case where going reverse order is needed..
@preityhansaa9150
@preityhansaa9150 2 жыл бұрын
Happy to see this channel growing :) way to go. It would also be nice to see a video like how we can tackle DSA for each company in FAANG like do we have to just do top100 for company tagged leetcode or the videos you mention with company tag or they do a variation on them
@crackfaang
@crackfaang 2 жыл бұрын
Thanks for the kind words! That’s definitely a good video idea for the future… each company is different and the way to approach the onsites varies
@samuraijosh1595
@samuraijosh1595 11 ай бұрын
Thanks for the video.
@mariocatzin503
@mariocatzin503 2 жыл бұрын
Thank you!
@crackfaang
@crackfaang 2 жыл бұрын
Glad you enjoyed the video! Subscribe so you don’t miss future ones
@amandwivedi1980
@amandwivedi1980 2 жыл бұрын
nice explanation
@crackfaang
@crackfaang 2 жыл бұрын
Thanks! Make sure to subscribe so you don’t miss any uploads!
@Drew0Ranger
@Drew0Ranger 3 ай бұрын
@5:45 you clearly do not know which use cases both left and right traversal would be useful, if you knew, you would have shown an example :)
@austinmann4023
@austinmann4023 6 сағат бұрын
(()(((() here is an example, idk why he didn't include
@fxgg-ni4eu
@fxgg-ni4eu 7 ай бұрын
why dont use stack to solve?😶
@sachinvarma9949
@sachinvarma9949 4 ай бұрын
because we need to find length not to check invalid
REVERSE WORDS IN A STRING | LEETCODE 151 | PYTHON SOLUTION
8:21
Cracking FAANG
Рет қаралды 8 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,5 МЛН
Каха и лужа  #непосредственнокаха
00:15
This Game Is Wild...
00:19
MrBeast
Рет қаралды 154 МЛН
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 8 МЛН
Jhalo Jz - MELANCUNG (Official Music Video)
4:00
Jhalo Jz
Рет қаралды 2,5 М.
Longest Valid Parentheses | LeetCode 32 | Coders Camp
9:36
Coders Camp
Рет қаралды 3,5 М.
L11. Valid Parenthesis String | Multiple Approaches
26:09
take U forward
Рет қаралды 46 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 329 М.
LeetCode 32 - Longest Valid Parenthesis
18:26
Time Complexity Infinity
Рет қаралды 18 М.
How I Failed the Google Coding Interview (and lessons I learned)
14:24
678. Valid Parenthesis String | DP | Stacks | 2 Pointers | 3 Ways
38:32
Bresenham's Line Algorithm - Demystified Step by Step
16:10
NoBS Code
Рет қаралды 62 М.
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,5 МЛН