Stack Java Tutorial #65

  Рет қаралды 182,023

Alex Lee

Alex Lee

Күн бұрын

Пікірлер: 180
@alexlorenlee
@alexlorenlee Жыл бұрын
If you’re new to programming but want a career in tech, I HIGHLY RECOMMEND applying to one of Springboard’s online coding bootcamps (use code ALEXLEE for $1,000 off): bit.ly/3HX970h
@Cablur
@Cablur 2 жыл бұрын
The way you teach is so awesome and feels just right. You not only tell people the theoretical terms and how stuff works, but you give us real-life examples, stuff we can literally grab on. This makes learning so much easier and fun. Thank you!
@tundeolokun7108
@tundeolokun7108 4 жыл бұрын
You are literally better than my professors at university. Plates be damned.
@gabrieldenobrega
@gabrieldenobrega 2 жыл бұрын
Definitely. I mean, my teacher taught us stacks using static arrays when there's already a class on Java.util that we can use for that! I agree that it may be important for us to visualize how stacks work but the method used on this video is so much simpler and direct. I think that, as programmers, we do not need to reinvent the wheel every time we program.
@KeilyKapoor-p7m
@KeilyKapoor-p7m 2 жыл бұрын
I agree, my professor demotivates me to learn programming. But watchng such a good explanation helps me)
@oshito
@oshito 2 жыл бұрын
@@gabrieldenobrega In my opinion when you're still learning it's better to know how data structures like stacks are programmed in order to see how it works logically.
@gabrieldenobrega
@gabrieldenobrega 2 жыл бұрын
@@oshito Nowadays I see why he wanted to teach us that way, I think I was just frustrated at the time.
@MafazaSPutra
@MafazaSPutra 5 жыл бұрын
Best java tutorial on youtube so far. can't wait to see the GUI tutorial ... hope your channel grows soon! I can only help with subscription, views, thumb, like, and comment ...
@theFraggedNoobian
@theFraggedNoobian 5 жыл бұрын
Awesome video, just went through HashMap Stacks and Queues from you and it was so easy to understand with the examples. Coding at the same time with you makes me remember them. Keep it up!
@abdulazizhaqparast7764
@abdulazizhaqparast7764 4 жыл бұрын
I would be honest, the way you explain coding with real life examples, it is fabulous.
@RixCanDoit
@RixCanDoit 5 жыл бұрын
Hey Alex. Yes, the video game visual was fine. I probably would have gone with the cafeteria plates visual, where every time you take a plate the stack moves up so the next plate can be taken, etc. When you put the washed plates back, it pushes down the existing plates. That's how it was explained to us back in the 70's. On another note, sharing 'why' you would care about stacks would be useful. I imagine one might use stacks (FILO) for such things as reversing things you did in your app, like the UNDO menu item we often see in programs. Out of curiosity, what do you use Java for? Program any Windows programs? I'd sure like to see more videos on how to create programs for the Windows OS that NOT console apps, but GUI programs. Don't see many tutorials on that. Everything is mostly teaching in the console. Who wants to run console programs on Windows? Thanks for a wonderful and informative video. Keep up the good work and get this channel to grow!
@kalyanb2002
@kalyanb2002 4 жыл бұрын
Thanks for sharing great examples for stack implementation in real time (undo).Really helps a lot.
@preacherluigi
@preacherluigi 2 жыл бұрын
The pile of dishes is a better way to explain the concept.
@joondagoon6774
@joondagoon6774 3 жыл бұрын
you explain this in 9mins what professors take a whole lecture ty
@vladkuprienko7162
@vladkuprienko7162 3 жыл бұрын
Are they doing it in more depth?
@joondagoon6774
@joondagoon6774 3 жыл бұрын
@@vladkuprienko7162 I learned this in intermediate programming but the professor had a hard time explaining it so when I took advanced it was confusing
@michaellabeltran3807
@michaellabeltran3807 4 жыл бұрын
Hi alex! I'm a computer science student and watched different videos related to java, but you make Java easier for me!
@TheBsoncarty
@TheBsoncarty 2 жыл бұрын
I love your videos! I was doing LeetCode and came across a solution that used Stack, which I had never heard of. Thanks to you I feel like I have a basic understanding now. Thanks dude!
@notyourangel9
@notyourangel9 2 жыл бұрын
This is great and the real world visuals really keep things clear
@vishy
@vishy 5 жыл бұрын
The video game example for stacking was excellent. You are a fantastic tutor Alex!
@PrathameshMawlankar
@PrathameshMawlankar 3 жыл бұрын
That's a very clean explanation tutorial for java stacks. The way you explained was neat and easy. Great man.
@bizcodetech
@bizcodetech 4 жыл бұрын
Hay Alex, Im your student... You are very Good teacher. Simple and accurate. Im watching all of your videos one by one. And have reached on this. I wish you would teach us android studio, if possible. Thanks.
@Chris-rw7zh
@Chris-rw7zh 3 жыл бұрын
The video game visual was incredibly helpful, thank you Alex and I hope you are doing well and happy with your newfound passion :)
@mohittyagi6694
@mohittyagi6694 5 жыл бұрын
congrats m8 for you new office space.. wish you best of luck for your future endeavors
@NamNguyen-ir7gt
@NamNguyen-ir7gt 3 жыл бұрын
Thank Alex a lot for helping me learning java in easiest i have ever watched
@imaanmajal278
@imaanmajal278 3 ай бұрын
Your videos have saved me for my final and carried me throughout this semester of Java. You explain it way better than my lecturers who just read the slides which are literally just passages from our textbook :/
@valcmeza
@valcmeza 4 жыл бұрын
All of your videos make my day. But I also learn from them. Keep up the good work Alex!
@2012SnowMan
@2012SnowMan 4 жыл бұрын
Awesome video! The video games is a great analogy for showing the functionality
@geraldephraim7744
@geraldephraim7744 2 жыл бұрын
Excellent video explaining Stacks! Never understood what it meant till after watching this video. Thanks loads!
@Evilshrimp02
@Evilshrimp02 4 жыл бұрын
I just wanted to let you know that even after uploading this video 6 months ago. You are still teaching people. Thank you so much. Yes, the video game stack did help out a lot.
@ayabonganomvalo8825
@ayabonganomvalo8825 2 жыл бұрын
Wooow all of your videos are explained clearly and understandable thanks man🤟
@slnaisld2121
@slnaisld2121 27 күн бұрын
the way u explained this was so refreshing
@andreeadan5595
@andreeadan5595 4 жыл бұрын
The video game visual was really good :) Besides what you presented, I find really useful the "push" method too. Thanks for your videos! They are really clear and helpful!
@kcconsigo7429
@kcconsigo7429 4 жыл бұрын
Best tutorial so far. Keep it up 👍💪
@Mariam_PinkLotus
@Mariam_PinkLotus 4 жыл бұрын
the best explanation ever seen. thank you Alex
@jeremy1391
@jeremy1391 4 жыл бұрын
Just discovered your channel recently, awesome videos and explanations. I'm taking data structures at the moment and these have been extremely helpful.
@chimmypark789
@chimmypark789 4 жыл бұрын
Thanks a lot for this tutorial. I now finally understood the stacks on Java. Thank you so much!
@soheylatofighi5165
@soheylatofighi5165 Жыл бұрын
Hi Alex, that was very clearly explained as usual. I loved the visualisation.
@lucassilva742
@lucassilva742 3 жыл бұрын
holy shit, ty, 06/28/2021 in brazil, and this video makes me very grateful, i couldn't find good explanations about stack anywhere, ty for this video
@summerche165
@summerche165 5 жыл бұрын
the video game example is really helpful! thanks a lot!
@mragunathan1627
@mragunathan1627 4 жыл бұрын
another fantastic video, the analogy made it very comprehensible, thanks!
@jedcurwen3410
@jedcurwen3410 2 жыл бұрын
Awesome! I've just started learning Java for University and your videos have helped me a lot! so thank you so much:)
@sulbhagirwalkar9917
@sulbhagirwalkar9917 3 жыл бұрын
best java tutorials ,very well explained
@baneous18
@baneous18 3 жыл бұрын
Thank you Alex.. you are the best
@vishvesh10
@vishvesh10 4 жыл бұрын
Bro, you're really good. Love how you keep it very simple. Also congratulations, IK it's a little late probably but still :p
@teodorprodanov662
@teodorprodanov662 4 жыл бұрын
Very useful video. I understood everything without any problems. Good Luck !
@kalyanb2002
@kalyanb2002 4 жыл бұрын
Wonderful explanation of the concept using a realistic example (stack of video games). Thanks for making it crisp and powerful..
@chrisforrest8994
@chrisforrest8994 Жыл бұрын
Your voice sounds so soothing Alex wish my professors sounded like you learning coulda been easy 😅
@fernandoreyna2990
@fernandoreyna2990 Жыл бұрын
The video game visual was perfect for understanding how stacks work.
@zubeirayaanle6417
@zubeirayaanle6417 2 жыл бұрын
simple explanation, and easy to understand. thanks man nice office bedroom
@gamerneutro3245
@gamerneutro3245 8 ай бұрын
your explanation was wayy so simple, thanks a lot for that
@nevernthirbeni535
@nevernthirbeni535 3 жыл бұрын
awesome tutorial, you make it really simple.
@anujchaturvedi5642
@anujchaturvedi5642 3 жыл бұрын
When do you use the method add() and when do you use push()?
@Savageboss52
@Savageboss52 9 ай бұрын
Even though I speak very little English, I understood everything, thank you.
@HessaIT-u8f
@HessaIT-u8f Ай бұрын
Your videos have saved me for my final Thank you
@sergiocarbajal4077
@sergiocarbajal4077 3 жыл бұрын
Great tutorial, very helpful.
@SoteKaGota
@SoteKaGota 9 ай бұрын
That video game visualization was helpful sir. Loved your videos so far... Hope you will teach springboot...
@etotheman
@etotheman Жыл бұрын
thank you so much alex! i have an exam coming up
@victorzarate5309
@victorzarate5309 3 жыл бұрын
Alex is one of the GOATs.
@someguy007
@someguy007 5 жыл бұрын
Oh that was great, thank you. Is there a reason why you didn't use push?
@thushankalana4940
@thushankalana4940 2 жыл бұрын
Thank you so much. You explain cleary and better.❤️🔥😊
@lungelosishi1157
@lungelosishi1157 2 жыл бұрын
You are the best Bruh You always make it simple
@chocovocxdoz9017
@chocovocxdoz9017 9 ай бұрын
bro teach us much much better than our lecturers
@seandempsey4507
@seandempsey4507 2 жыл бұрын
holy i'm drunk and late on my assignment and you made that so ez thanks alex!!! UR A GEM
@dd8601
@dd8601 2 жыл бұрын
Video game visualization was super helpful.
@thiagosilva2890
@thiagosilva2890 4 жыл бұрын
You are an excellent tutor!
@yicai7
@yicai7 4 жыл бұрын
Looking forward to ur data structures and algo lesson!
@fionalong4755
@fionalong4755 Жыл бұрын
You beat my professor in explaining stack
@melisakuruscu8276
@melisakuruscu8276 14 күн бұрын
yes that was really helpfull to understand Stacks
@aameaame7973
@aameaame7973 3 жыл бұрын
you are every beginner's saviour!!!!
@sonamgurung6011
@sonamgurung6011 3 жыл бұрын
your tutorial gives me aid to learn Java.
@celestial1210
@celestial1210 5 жыл бұрын
Great tutorial! Thank you!
@Applestaffman
@Applestaffman 2 жыл бұрын
why not use push instead of add ?
@kainatelahi1322
@kainatelahi1322 3 жыл бұрын
You should make course for data algorithm . Because I understood more from you then my teacher.You already have , linkedlist, stack and que.
@ashuumudunuri3760
@ashuumudunuri3760 3 жыл бұрын
even udemy teachers wouldn't say this great.. your channel must be hyped seriously
@yolokazinogantsho8111
@yolokazinogantsho8111 2 жыл бұрын
Can you do stacks and queues with singly linked list or with doubly linked lists
@roaa5824
@roaa5824 4 жыл бұрын
that was really helpful, thank you a lot
@vc9867
@vc9867 4 жыл бұрын
Alex. Thanks for the video. What is the difference between hashmap and stack?
@joselorenzini4196
@joselorenzini4196 2 жыл бұрын
Thanks alex , you are very good teacher
@limzisin26
@limzisin26 4 жыл бұрын
It's helpful, thank you so much!
@nicholaslim5519
@nicholaslim5519 4 жыл бұрын
Thank u very much... i need to know more about Java cuz I intend to create an app for fun asap with Java
@nathnaelteklu1384
@nathnaelteklu1384 2 жыл бұрын
It was very helpful! Thank you!
@karimtoumi3749
@karimtoumi3749 3 жыл бұрын
Can you do more videos about interfaces please
@explorerars4208
@explorerars4208 Жыл бұрын
Very nice lecture👍👍👍
@midautumn3440
@midautumn3440 2 ай бұрын
Alex, thanks alot!
@nategalit5407
@nategalit5407 Жыл бұрын
OMG THIS HELPED ME OUT SO MUCH!!!!!!!!!!!!!!!!!!
@solidninja
@solidninja 2 жыл бұрын
its good to see a gamer teaches stacks java
@hydrogennetwork
@hydrogennetwork Жыл бұрын
i think Stack he made is a stack in the JVM's memory. the Stack holds the pools which hold the strings
@hydrogennetwork
@hydrogennetwork Жыл бұрын
nevermind Stack extends Vector, i found that out by using CTRL + Shift + T
@omidmehrabi5620
@omidmehrabi5620 Жыл бұрын
it was the greatest tutorial
@proalexv
@proalexv 2 жыл бұрын
Another great video, thank you so much!
@PushpaShivakumar1309
@PushpaShivakumar1309 4 жыл бұрын
Congratulations 🎉🎊 for new office
@SouravDhali-mc6rc
@SouravDhali-mc6rc 3 жыл бұрын
thank's brother. love from Bangladesh.
@arturus4750
@arturus4750 4 жыл бұрын
The video game visualisation was genius in my opininon
@zhangchi777
@zhangchi777 3 жыл бұрын
Can someone explain the difference between stacks and ArrayLists? In terms of purpose and functions
@Emma-wy5yh
@Emma-wy5yh Жыл бұрын
Great video, what program are you using? I like how it auto-gens your main function
@CrazyGamesMinecraft
@CrazyGamesMinecraft 5 жыл бұрын
So whats the advatage of this instead of using a linked list?
@alexlorenlee
@alexlorenlee 5 жыл бұрын
CrazyCode great question! It’s mostly a matter of taste. This uses slightly less memory than a linked list because a linked list has to store info about other nodes. If you’ve got data you want to treat like a stack in a fast way with ways to see the top and pull from the top, feel free to go for a stack. But if you can get it to work with a linked list or anything else, you’re usually better off to go with what you feel comfortable with :)
@poetic_
@poetic_ 4 жыл бұрын
@@alexlorenlee 🙏
@antons6335
@antons6335 2 жыл бұрын
This is very helpful, thank you
@aviargas7406
@aviargas7406 3 жыл бұрын
thank you man !! really great
@letsdrivewithaz541
@letsdrivewithaz541 3 жыл бұрын
make a video about LinkedList and how to use it. like where can we use it if we are developing any program. everyone talks about node and singly and doubly that's it. Create a program which have all the OOP 4 pilers, Data Structure, and Algorithm. that way we can get a better idea of java. thank you
@ponanbalagan2988
@ponanbalagan2988 4 жыл бұрын
Great wrk bro... 🎉
@nursabrinarozaini2240
@nursabrinarozaini2240 4 жыл бұрын
thank you! this really helped
@מוטירז-י3ח
@מוטירז-י3ח 2 жыл бұрын
Very good video. Thank you
@lil1677
@lil1677 5 жыл бұрын
Thank you with all my heart
@MisterWealth
@MisterWealth 5 жыл бұрын
Can you start a series on building a video simple video game? Even if it's something like a gameboy game, because you could use simple sprites, keypad, simple buttons, alerts, damage, health and all the "simple" things to get moving on more complex games.
@HelicopterRidesForCommunists
@HelicopterRidesForCommunists 3 жыл бұрын
Thanks my man.
@sebahattinsaral
@sebahattinsaral Жыл бұрын
this man is amazing
@lembethamsanqa4205
@lembethamsanqa4205 4 жыл бұрын
Duuuude!!!!!! awesome video
@homieswithjesus
@homieswithjesus 4 жыл бұрын
very helpful thank you
Queue In Java Tutorial #66
7:46
Alex Lee
Рет қаралды 143 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Inheritance in Java Tutorial #86
10:34
Alex Lee
Рет қаралды 398 М.
LinkedList vs ArrayList in Java Tutorial - Which Should You Use?
11:43
Coding with John
Рет қаралды 622 М.
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 647 М.
Access Modifiers Java Tutorial #82
11:27
Alex Lee
Рет қаралды 235 М.
Array vs. ArrayList in Java Tutorial - What's The Difference?
17:36
Coding with John
Рет қаралды 582 М.
HashMap Java Tutorial #50
11:42
Alex Lee
Рет қаралды 415 М.
#26 Stack And Heap in Java
12:37
Telusko
Рет қаралды 318 М.