Remove Duplicate Letters | Leetcode 316 | Stacks | Live coding session 🔥🔥

  Рет қаралды 2,652

Coding Decoded

Coding Decoded

Күн бұрын

Пікірлер: 21
@krateskim4169
@krateskim4169 Жыл бұрын
Awesome question and awesome explanation
@sugandhm2666
@sugandhm2666 2 жыл бұрын
This channel is gold because i find zero clickbait videos like other youtube channels in dsa domain. Keep it up 💚
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 жыл бұрын
Thanks a lot Sugandh, me makes feel there is still hope in this world and people can clearly see through the reality.
@shrimpo6416
@shrimpo6416 2 жыл бұрын
Tricky question that got me thinking for so long. Great explanation and awesome code! I code in Python but your code is so clean and easy to understand that I feel can read Java now XD
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 жыл бұрын
The question is based on Monotone stack, complete stack playlist is here kzbin.info/aero/PLEI-q7w3s9gQpqrVq_9VkYugtILlqSB1I
@zhuochen8793
@zhuochen8793 2 жыл бұрын
very very detailed explanation. I finally got it!! Thank you!
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 жыл бұрын
Glad it helped!
@chin2uuu
@chin2uuu 2 жыл бұрын
Great Explanation so far so good
@jessanraj9086
@jessanraj9086 2 жыл бұрын
Good job 🔥
@abhishek__anand__
@abhishek__anand__ Жыл бұрын
Great Explanation
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja Жыл бұрын
Glad you liked it
@Akhilasrikeerthana
@Akhilasrikeerthana 9 ай бұрын
Thank you so much for the great explanation. I have one doubt when iterating through the stack in obtaining final output. so the stack consists of elements in descending order right and when we iterate through it does the stringbuilder not consist of elements in descending order but not ascending? how is the stack being iterated in bottom to top order here?
@utsavgupta746
@utsavgupta746 2 жыл бұрын
This question is a bit tricky ... And i found it hard to think.. Thanks for the video sir... Happy holi🥳
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 жыл бұрын
Most welcome 😊
@siddharthsaxena6495
@siddharthsaxena6495 2 жыл бұрын
Great explanation,happy holi.
@CodeWithSunchitDudeja
@CodeWithSunchitDudeja 2 жыл бұрын
Thank you! You too!
@jatinvashisht7153
@jatinvashisht7153 2 жыл бұрын
Sir plz sde roadmap pr ek video bna do
@techmoon_
@techmoon_ 2 жыл бұрын
Space complexity is O(1).
@prakhartandon8288
@prakhartandon8288 Жыл бұрын
It will be 0(n) since we are using a stack of len close to n and two constant space arrs
@priyadarshanr296
@priyadarshanr296 2 жыл бұрын
do we need the visited array ? won't it work without that for(int i=0;i
@abhishektiwari430
@abhishektiwari430 2 жыл бұрын
Please do for "cbaacabcaaccaacababa"
REMOVE DUPLICATE LETTERS | LEETCODE 316 | PYTHON STACK SOLUTION
18:15
Cracking FAANG
Рет қаралды 2,8 М.
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН
How to have fun with a child 🤣 Food wrap frame! #shorts
0:21
BadaBOOM!
Рет қаралды 17 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Basic Calculator | Leetcode 224 | Live coding session 🔥🔥🔥
17:01
Remove Duplicate Letters | Leetcode #316
14:55
Techdose
Рет қаралды 28 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 335 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
Как наука победила религию
17:02
Remove Duplicate Letters | Leetcode 316 | Stack | Day-18
21:00
Ayushi Sharma
Рет қаралды 13 М.
Making an Algorithm Faster
30:08
NeetCodeIO
Рет қаралды 210 М.
316. Remove Duplicate Letters | Day 015 | Stack
13:36
Aryan Mittal
Рет қаралды 3 М.
Queue Implementation using Stack | O(1) Push and Pop Operations
11:20
take U forward
Рет қаралды 177 М.
Fast Inverse Square Root - A Quake III Algorithm
20:08
Nemean
Рет қаралды 5 МЛН
Hilarious FAKE TONGUE Prank by WEDNESDAY😏🖤
0:39
La La Life Shorts
Рет қаралды 44 МЛН