L1. Introduction to Stack and Queue | Implementation using Data Structures

  Рет қаралды 292,232

take U forward

take U forward

Күн бұрын

Find problem link, notes under Step 9: takeuforward.o...
Follow me on socials: linktr.ee/take...

Пікірлер: 220
@takeUforward
@takeUforward 6 ай бұрын
TUF+ launching on 7th August, are you excited about it? If you are wanting to give hate for us bringing a paid model. Here are a few things you must read. 1. if you are an engineer, you know the server cost to run takeuforward website which has 13M+ views every month. 2. TUF stays free, so should not affect anyone, just blink an eye. It will be a course, but not a course! Miles apart from what others are providing you..
@Josuke217
@Josuke217 6 ай бұрын
Yes , also this playlist was uploaded yesterday right?
@takeUforward
@takeUforward 6 ай бұрын
@@Josuke217 yes it was, had some audio issues.
@Josuke217
@Josuke217 6 ай бұрын
​@@takeUforwardthanks for uploading high quality content for free , we appreciate it a lot :)
@babulalyadav4305
@babulalyadav4305 6 ай бұрын
@takeUforward thanks for uploading high quality content for free , we appreciate it a lot :)
@ishankavdia5380
@ishankavdia5380 6 ай бұрын
Thank you for the amazing lecture series! Learning so much from your lectures, GOAT of DSA!!
@KartikeyTT
@KartikeyTT 6 ай бұрын
TIMESTAMPS 0:00 Intro 1:54 What is Stack 5:37 What is queue 8:58 Implementing stack and queue using inbuilt library 10:47 Implementing stack using array 19:30 Implementing queue using array 31:53 Implementing stack using linked list 38:22 Implementing queue using linked list 44:58 Implementing stack using queue 51:08 Implementing queue using stack (approach 1) 58:12 Implementing queue using stack (approach 2)
@disastermaster4226
@disastermaster4226 6 ай бұрын
thanks bro :)
@omkarshendge5438
@omkarshendge5438 6 ай бұрын
thanks for this!
@Moh_IT2001
@Moh_IT2001 4 ай бұрын
Thank you so much buddy :)
@Mel-up7un
@Mel-up7un 4 ай бұрын
Dude timestamps guys are the best
@nigamvaghani_007
@nigamvaghani_007 2 ай бұрын
Thanks for it ☺️
@simanraj8278
@simanraj8278 6 ай бұрын
finally GOAT playlist of stacks on youtube 😍😍❤❤
@sharath2003
@sharath2003 6 ай бұрын
Guys comment "Strings" for next !!!
@niteshkhanna690
@niteshkhanna690 6 ай бұрын
char
@SiddharthSingh-ln8co
@SiddharthSingh-ln8co 3 ай бұрын
array
@technologicalvivek7510
@technologicalvivek7510 6 ай бұрын
Thank u bhaiya , Jabardast lecture hai. Pura revision ek baar me within short period of time.
@Sharath_Codm
@Sharath_Codm 6 ай бұрын
Vote For Strings NXT!
@takeUforward
@takeUforward 6 ай бұрын
August end! Promise.
@realharshgautam
@realharshgautam 6 ай бұрын
​@@takeUforward Please make it earlier please raj bhaiya, i know you have full time role & other things going on but please try to make it at earliest
@SuvradipDasPhotographyOfficial
@SuvradipDasPhotographyOfficial 6 ай бұрын
@@takeUforward amazing striver, thank you so much
@PavanAditya-zv4ic
@PavanAditya-zv4ic 6 ай бұрын
​@@takeUforwardlove you striver
@rounaksarkar3084
@rounaksarkar3084 6 ай бұрын
@@takeUforward no what? why? Bring it in the July end itself.
@toushikbanik8452
@toushikbanik8452 6 ай бұрын
@take U forward. In 43:41 you also have to do end = end->next;
@mozeel_v
@mozeel_v 6 ай бұрын
Yes I noticed same mistake
@radhepatel6876
@radhepatel6876 6 ай бұрын
Ohh I was looking for this one Thanks bro!
@Akash-Bisariya
@Akash-Bisariya 6 ай бұрын
right
@prasannagodiyal6736
@prasannagodiyal6736 5 ай бұрын
shouldn't we write end=temp; ?
@k.manasaxi-c4622
@k.manasaxi-c4622 4 ай бұрын
​@@prasannagodiyal6736haina
@shatakshishukla8858
@shatakshishukla8858 6 ай бұрын
please heaps and strings playlist next!! :")
@harshitmnnit
@harshitmnnit 6 ай бұрын
gonna buy the TUF+ also ...we will support you striver...aapne hume itna high quality content free me diya h , now its our responsibiilty to support you
@mohitsengar2838
@mohitsengar2838 4 ай бұрын
clear like a star in sky
@souhardayasaha
@souhardayasaha 3 ай бұрын
43:34 after end.next=temp there will be end=temp to move end to temp
@pronoynath1171
@pronoynath1171 6 ай бұрын
This is a gem channel. Thanks
@gargkapil
@gargkapil 6 ай бұрын
Good to see a new lecture series
@gradientO
@gradientO 6 ай бұрын
Here after seeing your post about the series. Thanks a lot ❤
@adityamishra3461
@adityamishra3461 6 ай бұрын
This playlist is so helpful for our upcoming placements. Love from UP ❤
@VighneshRaikar-sh9nu
@VighneshRaikar-sh9nu 5 ай бұрын
You missed something in queues implementation using linked list in the push function you have to add (end=temp)
@KevalChudasama-f1c
@KevalChudasama-f1c 3 ай бұрын
And this all playlists are very helpful for us. So, thank you very much for this🎉
@Arshul-kg3ig
@Arshul-kg3ig 2 ай бұрын
We are waiting for your string playlist Striver
@sougotasaha525
@sougotasaha525 6 ай бұрын
Outstanding method of teaching
@rumiNITPatna
@rumiNITPatna Ай бұрын
thank you striver ! done with the video
@AmitKumar-cp1oz
@AmitKumar-cp1oz 4 ай бұрын
I have no use of TUF+, but bought to support you, keep going, Thanks.
@iamxpossible
@iamxpossible 3 ай бұрын
give it to me then it would be so helpful for me 😥
@ANANDCHAPKE
@ANANDCHAPKE Ай бұрын
Timestamps (Powered by Merlin AI) 00:04 - Introduction to stack and queue 02:30 - Introduction to Stack Data Structure Basics 07:37 - Introduction to Stack and Queue implementation using Data Structures. 10:23 - Implementing Stack and Queue using Data Structures 15:41 - Implementation of Stack data structure in 10-size array 18:07 - Implementing stack and queue using arrays have fixed sizes, not dynamic. 22:30 - Explanation of stack operations like push and pop 24:50 - Implementing push and pop operations in a queue using a circular array. 29:29 - Implementation of pop and top operations in stack 31:43 - Implementation of Stack using LinkedList 36:15 - Implementing stack using a linked list 38:42 - Implementing stack and queue using data structures 43:06 - Implement Stack operations using Queue 45:28 - Transforming Queue into Stack by reversing elements 49:55 - Implementing Queue using Stack Data Structure 52:04 - Simulating queue using stack data structure 56:19 - Understanding time and space complexity of stack operations 58:35 - Implementation of Stack and Queue using two stack approach. 1:02:47 - Introduction to Stack and Queue 1:04:56 - Introduction to Stack and Queue implementation
@madhurimabhowmick7899
@madhurimabhowmick7899 6 ай бұрын
thanks a lot for this. strings next pleaseeeee
@Messi23485
@Messi23485 6 ай бұрын
Amazing video
@vaibhavbhosale2530
@vaibhavbhosale2530 6 ай бұрын
wake up babe,striver just drop another banger!!!!
@pipinstallpycaret4056
@pipinstallpycaret4056 2 ай бұрын
How anyone can have this much knowledge!
@kaira7252
@kaira7252 3 ай бұрын
00:04 Introduction to stack and queue 02:30 Introduction to Stack Data Structure Basics 07:37 Introduction to Stack and Queue implementation using Data Structures. 10:23 Implementing Stack and Queue using Data Structures 15:41 Implementation of Stack data structure in 10-size array 18:07 Implementing stack and queue using arrays have fixed sizes, not dynamic. 22:30 Explanation of stack operations like push and pop 24:50 Implementing push and pop operations in a queue using a circular array. 29:29 Implementation of pop and top operations in stack 31:43 Implementation of Stack using LinkedList 36:15 Implementing stack using a linked list 38:42 Implementing stack and queue using data structures 43:06 Implement Stack operations using Queue 45:28 Transforming Queue into Stack by reversing elements 49:55 Implementing Queue using Stack Data Structure 52:04 Simulating queue using stack data structure 56:19 Understanding time and space complexity of stack operations 58:35 Implementation of Stack and Queue using two stack approach. 1:02:47 Introduction to Stack and Queue 1:04:56 Introduction to Stack and Queue implementation
@brainmosquito7
@brainmosquito7 6 ай бұрын
striver plz release full playlist once nd also string plzz
@ViswatejAbbireddy-w6e
@ViswatejAbbireddy-w6e 6 ай бұрын
At 43:35 I think end = end->next is missing
@AkashJaiswal-w4q
@AkashJaiswal-w4q 6 ай бұрын
yes ,it will be end=temp
@firebout7675
@firebout7675 5 ай бұрын
@takeUforward pls pin this comment
@oyeshxrme
@oyeshxrme 4 ай бұрын
true
@gamersgame43
@gamersgame43 3 ай бұрын
yes ofcourse, I was trying to find this in comment, but only few managed to spot on
@parth_3856
@parth_3856 6 ай бұрын
The OG is back again.........
@sahilmujawar8217
@sahilmujawar8217 3 ай бұрын
understood bhaiya❤
@SomrikTapaswi
@SomrikTapaswi 6 ай бұрын
wow :) now we will have grasp on stack and queues
@roydebraj2188
@roydebraj2188 6 ай бұрын
yayyyy finally its here
@mayur367
@mayur367 6 ай бұрын
Need heap sir, please ❤❤
@rongalamanindra5279
@rongalamanindra5279 6 ай бұрын
Thank you so much sir your lecture is awesome
@Keerthena
@Keerthena Ай бұрын
God level....🔥
@anuj8855
@anuj8855 6 ай бұрын
Great Content ❤
@AbhijayaPal-dq3zt
@AbhijayaPal-dq3zt 6 ай бұрын
Thanks alot raj sir, helpful playlist, please upload strings also
@avishshah2186
@avishshah2186 6 ай бұрын
Striver, it would be great if you can add timestamps in this video. Thank you so much for this DSA playlist!!!
@dhanushm9166
@dhanushm9166 6 ай бұрын
tuf+ 🔥👇
@ketakilokare9613
@ketakilokare9613 5 ай бұрын
please upload "string" series......eagerly waiting
@modigautam7009
@modigautam7009 6 ай бұрын
one mistake in optimal approach solution : int trap(vector& height) { int n=height.size(); int unit=0; int i=0,j=n-1; int l_max=0,r_max=0; while(i!=j) { if(height[i]height[i]) unit=unit+l_max-height[i]; else l_max=height[i]; i++; } else if(height[j]height[j]) unit=unit+r_max-height[j]; else r_max=height[j]; j--; } else { l_max=max(l_max,height[i++]); } } return unit; }
@anush_20
@anush_20 6 ай бұрын
Bro i can understand easily after seeing your videos but when i am solving question for first time i am not able to do please give some advice or tips. Please striver bhaiya reply. By the way i love ur way of teaching❤
@deveshsingh522
@deveshsingh522 6 ай бұрын
Hoping for strings by end of August and Heaps by end of September. I think rest everything is covered. Looking forward to TUF+ and what it will have.
@harshitmnnit
@harshitmnnit 6 ай бұрын
amazing bhaiya
@Prakashrai__2003
@Prakashrai__2003 6 ай бұрын
I am waiting for this😢i search on tuf and got old lecture i thought when will you drop new video and now coincidently i am hear for search of stack playliST and now its available
@srishtipandey6068
@srishtipandey6068 6 ай бұрын
@striver please upload heap playlist. Most needed right now
@COURATWENTYTHREE
@COURATWENTYTHREE 2 ай бұрын
Understood♥♥♥♥
@peakyblinderzz
@peakyblinderzz 6 ай бұрын
Waiting for string series
@Praveen_x777
@Praveen_x777 6 ай бұрын
Hope you are doing well !
@bhavyasharma3500
@bhavyasharma3500 6 ай бұрын
Thanks Raj bhai
@FullFootball-t5u
@FullFootball-t5u 5 ай бұрын
I am slowly stating to believe that this course is in C++
@srivishwap6107
@srivishwap6107 6 ай бұрын
thank you bhaiii
@karthikmadan
@karthikmadan 6 ай бұрын
WILL COMPLETE THIS PLAYLIST TODAY AND COMMENT ON LAST VIDEO
@jyothishreddynagaram6789
@jyothishreddynagaram6789 6 ай бұрын
Thank you brother
@Jyotikashyap027
@Jyotikashyap027 4 ай бұрын
String
@a_r_m_a_a_n588
@a_r_m_a_a_n588 6 ай бұрын
lessgo we got stacks now
@harshitshrivas5444
@harshitshrivas5444 5 ай бұрын
Striver bro realy need String playlist noww
@yash30095
@yash30095 20 күн бұрын
understood!
@SatyaMantha
@SatyaMantha 3 ай бұрын
Striver please do strings and priority queues/heaps series
@_NITESHMOTIVATION
@_NITESHMOTIVATION 6 ай бұрын
remember bro is our teacher not slave !!! you can upload our class whenever you think sir!!!
@DeadPoolx1712
@DeadPoolx1712 4 ай бұрын
UNDERSTOOD;
@Archana-b4k5m
@Archana-b4k5m 3 ай бұрын
String and recursion
@oyeshxrme
@oyeshxrme 4 ай бұрын
thanks bhaiya
@anubhabdas9553
@anubhabdas9553 6 ай бұрын
In the push in queue using LL, in the else condition, end->next = temp; But after, the end should also be pointing to temp right?
@guneeshvats46
@guneeshvats46 6 ай бұрын
yeah true
@Cravings490
@Cravings490 6 ай бұрын
Striver ❤
@subee128
@subee128 6 ай бұрын
Thanks
@guneeshvats46
@guneeshvats46 6 ай бұрын
amazing bro @takeUforward
@chaithuamala4348
@chaithuamala4348 5 ай бұрын
💌💌
@sanjitkumarjha9282
@sanjitkumarjha9282 5 ай бұрын
Bro when will the string playlist will come???
@tusharsingh1257
@tusharsingh1257 6 ай бұрын
Completed 17th July
@darshilmodi6851
@darshilmodi6851 5 ай бұрын
understood
@sahilmujawar8217
@sahilmujawar8217 3 ай бұрын
please bring videos on string topic
@rutujashelke4208
@rutujashelke4208 5 ай бұрын
Understood
@subornonaskar1932
@subornonaskar1932 6 ай бұрын
Hii .. please upload string playlist and Java collection
@mohammadanas7620
@mohammadanas7620 Ай бұрын
19:30 continue from here
@vinit_notfound
@vinit_notfound 6 ай бұрын
❤❤❤
@KevalChudasama-f1c
@KevalChudasama-f1c 3 ай бұрын
Sir next topics pr video kb upload hoga..? We are waiting for your next dsa topics.
@SamirKumarRakshit-c4z
@SamirKumarRakshit-c4z 6 ай бұрын
What happened to the playlist?
@Sameeksha_1_6
@Sameeksha_1_6 3 ай бұрын
sir plz upload string playlist.
@sangharshsingh2073
@sangharshsingh2073 6 ай бұрын
String Please Friends please do vote for String
@iamstudying389
@iamstudying389 4 ай бұрын
striiiinggggggggg
@urBro.Z
@urBro.Z 6 ай бұрын
Me watching this during my exams.....😅❤
@AtulSingh-dp8wo
@AtulSingh-dp8wo 6 ай бұрын
Correct me if I'm wrong but the queue using array implementation in the video is actually the implementation of a circular queue right? instead of the traditional queue implementation
@Kshitijsingh-n7f
@Kshitijsingh-n7f 6 ай бұрын
yes
@LoadTheCODE07
@LoadTheCODE07 6 ай бұрын
Thanks bro... Might be ab video private nhi hoga
@nayankhuman1043
@nayankhuman1043 4 ай бұрын
understood :)
@dpxy1599
@dpxy1599 6 ай бұрын
God is here
@tanmaitallam5251
@tanmaitallam5251 4 ай бұрын
strings playlist when?😭
@ToonDubberDuo
@ToonDubberDuo 4 ай бұрын
search the questions you will find the solutions somewhere.
@SahilThakur26
@SahilThakur26 3 ай бұрын
One correction: The condition check on push should be if(top >= 10-1)
@akshat1078
@akshat1078 6 ай бұрын
Next Heap??
@sri-z5d
@sri-z5d 8 күн бұрын
1-2-25
@prathimaiyer1324
@prathimaiyer1324 Ай бұрын
String playlist please @ striver
@THUNDER_BOLT_
@THUNDER_BOLT_ 6 ай бұрын
Bhaiya can u make a detailed video on tuf+
@valendradangi1822
@valendradangi1822 6 ай бұрын
Should n't it be (s2.empty == 0) ?
@iamenait
@iamenait 3 ай бұрын
Yes, correct.
@niteshsingh5818
@niteshsingh5818 6 ай бұрын
Strings
@moneeb-ur-rahman7
@moneeb-ur-rahman7 4 ай бұрын
heavy
@real_manikant
@real_manikant 6 ай бұрын
String series please..
@Kesar-760
@Kesar-760 6 ай бұрын
please post heaps playlist
@payalsingh7238
@payalsingh7238 3 ай бұрын
i didn't saw any comment for 29:40 i guess something is wrong, el = q[start] should be in 2nd case. correct me if I'm wrong
@Achiever647
@Achiever647 Ай бұрын
At 35:06 ,temp next is not NULL,can we delete that node ,my doubt is segregated node is deleted only ?
L2. Check for Balanced Parentheses | Stack and Queue
12:28
take U forward
Рет қаралды 66 М.
L3. Prefix, Infix, and Postfix Conversion | Stack and Queue Playlist
50:47
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
How to Start LeetCode from ZERO in 2025
11:31
Ashish Pratap Singh
Рет қаралды 153 М.
MERN stack is DEAD? Career Advices not to miss!!
48:01
Striver
Рет қаралды 102 М.
ACIDS O Level Chemistry | IGCSE Chemistry Acids | Naeem Bukhari
31:27
L1. Introduction to LinkedList | Traversal | Length | Search an Element
45:17
L4. Implement Min Stack | Stack and Queue Playlist
20:55
take U forward
Рет қаралды 70 М.
L5. Next Greater Element | Stack and Queue Playlist
18:25
take U forward
Рет қаралды 97 М.
Major Announcement | TUF+ V2 and System Design Playlist 🔥
19:12
take U forward
Рет қаралды 82 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН