Learn Stack data structures in 10 minutes 📚

  Рет қаралды 178,937

Bro Code

Bro Code

3 жыл бұрын

stack data structure tutorial example explained
#stack #data #structure
// *******************************************************
// stack = LIFO data structure. Last-In First-Out
// stores objects into a sort of "vertical tower"
// push() to add objects to the top
// pop() to remove objects from the top
// uses of stacks?
// 1. undo/redo features in text editors
// 2. moving back/forward through browser history
// 3. backtracking algorithms (maze, file directories)
// 4. calling functions (call stack)
// *******************************************************
music credits 🎼 :
===========================================================
Up In My Jam (All Of A Sudden) by - Kubbi / kubbi
Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
Free Download / Stream: bit.ly/2JnDfCE
Music promoted by Audio Library • Up In My Jam (All Of A...
===========================================================

Пікірлер: 444
@BroCodez
@BroCodez 3 жыл бұрын
import java.util.Stack; public class Main{ public static void main(String[] args) { // ******************************************************* // stack = LIFO data structure. Last-In First-Out // stores objects into a sort of "vertical tower" // push() to add objects to the top // pop() to remove objects from the top // uses of stacks? // 1. undo/redo features in text editors // 2. moving back/forward through browser history // 3. backtracking algorithms (maze, file directories) // 4. calling functions (call stack) // ******************************************************* Stack stack = new Stack(); //System.out.println(stack.empty()); stack.push("Minecraft"); stack.push("Skyrim"); stack.push("DOOM"); stack.push("Borderlands"); stack.push("FFVII"); //String myFavGame = stack.pop(); //System.out.println(stack.peek()); //System.out.println(stack.search("Fallout76")); System.out.println(stack); } }
@techgeny2822
@techgeny2822 3 жыл бұрын
Please create all of lessons related to data structure and algoritms
@handsanitizer2457
@handsanitizer2457 3 жыл бұрын
Great video can you also do a series on problem solving, programming problems.love the real life examples dope
@joyceasante8292
@joyceasante8292 Жыл бұрын
import java.util.Stack; public class Main { public static void main(String[] args) { Stack stack = new Stack(); //System.out.println(stack.empty()); stack.push("Green Plate"); stack.push("Yellow Plate"); stack.push("Blue Plate"); stack.push("Red Plate"); String plate = stack.pop(); //System.out.println(stack.peek()); //System.out.println(stack); //System.out.println(plate); //System.out.println(stack.search("Pink Plate")); for(int i = 0; i < 1000000000; i++){ stack.push("Green Plate"); } } }
@josebolado2229
@josebolado2229 7 ай бұрын
Is there a video where you explain how the methods work?
@Aditya-oi5hr
@Aditya-oi5hr 3 күн бұрын
Xxx
@Ashbrringer
@Ashbrringer 2 жыл бұрын
Your 100 videos for Java/the 12 hours course for Java helped me a lot! I have Algorithms and Data Structures this semester and we are working with Java, so I hope that these videos will be helpful as well.
@CataStudies
@CataStudies Жыл бұрын
Hopefully these next 12 hours will be the mark of my start of years of programming and not me just giving up mid way.
@162sujiths4
@162sujiths4 4 ай бұрын
Did you complete what you have started?
@rain407
@rain407 4 ай бұрын
​@@162sujiths4 we are asking the same question on the same day lol
@yasminemokraoui3855
@yasminemokraoui3855 3 ай бұрын
Do you know if this is included in the 12 hours one ?
@CataStudies
@CataStudies 3 ай бұрын
@@162sujiths4 No :) I completely gave up on programming as a career
@CataStudies
@CataStudies 3 ай бұрын
@@yasminemokraoui3855 I do not know/remember anymore.
@TonyStack
@TonyStack 3 жыл бұрын
Broski I love your videos, can't wait to watch more videos about Data Structures and Algorithms!
@BroCodez
@BroCodez 3 жыл бұрын
thanks for watching!
@jinxKombat
@jinxKombat Жыл бұрын
You're amazing. Every video I find explains the data structure, but fail to provide a coding example. You are a true Bro.
@mdsafwathullahsafiansari2330
@mdsafwathullahsafiansari2330 3 жыл бұрын
You don't know how much I need DSA!! Thanks for these and please don't stop! Can't wait for it to complete!!!
@gutzimmumdo4910
@gutzimmumdo4910 8 ай бұрын
best explanations on yt on data structs, not only the intuition but the code aswell, great job👌👏
@chrisagasay
@chrisagasay 9 ай бұрын
The way you explained this made things so clear to me. Thank you!
@muhammedanshif7738
@muhammedanshif7738 Жыл бұрын
I have a honest reply from India, I am a student learning data-struchture and algorithm from India. Here I have watched to implement the merge sort And quick sort for some days. But watching your video of 10 minutes lead to clear understanding of concepts thank you for your effort, keep it up👍.
@camerondavis8182
@camerondavis8182 2 жыл бұрын
Man this channel is a gold mine for CS Course information for free and they are great lessons! Your doing the lords work man God Bless!
@inamullahkhan7793
@inamullahkhan7793 3 жыл бұрын
Well bro data structure and algorithms tutorials are finally there so excited for these tutorials.........
@muhammadhafizh9757
@muhammadhafizh9757 2 жыл бұрын
I love how you explain this as simple as possible with some joke😂 Thank you and don't stop making video like this!!!
@proxyaccount4466
@proxyaccount4466 11 ай бұрын
Can't get enough of that Skyrim spiel, came out of left field. Your DSA playlist was a big help during my application attempts last year. Haven't had much luck, but I'm trying again and going through all the vids.
@kobeyb5639
@kobeyb5639 3 жыл бұрын
Awesome channel Bro! Definitely the best programming channel I’ve found so far.
@BN-cr3el
@BN-cr3el 3 жыл бұрын
Thank you, please make more algo videos. You are the best instructor I never had 💯
@pennylee1127
@pennylee1127 2 жыл бұрын
Hey Bro Code, your videos are amazing and explained the concept clearly with given the reality example. Really appreciated that!
@andreuz_2998
@andreuz_2998 3 ай бұрын
I love how you actually make a real life exaple with the concepts . this help me a lot ! to acxtually understand what is explain. i'v been realizing that is not as hard as i thought it would be. Thanks a lot for your help.
@emausdetiquicia6636
@emausdetiquicia6636 11 ай бұрын
Loved that at the end you explained where stacks are actually used.
@sPranayreddy
@sPranayreddy 26 күн бұрын
Best and easily understandable explanation of DSA concepts
@chzzh6634
@chzzh6634 3 жыл бұрын
Bro, ILY. Data structures finally T_T I'm waiting for another data structures & algo vids :)
@michelberden3717
@michelberden3717 2 жыл бұрын
This guy is way too underrated imo
@jayquanbl0nd
@jayquanbl0nd 25 күн бұрын
clear concise straightforward. appreciate it big time
@zoni36
@zoni36 2 жыл бұрын
Can you do a playlist on how to teach difficult concepts? I have watched 2 of your playlists and you do a far better job of explaining and teaching than most professors I have had. I'm thinking being able to explain concepts in easy to understand concepts is a very important skill. Once someone has the knowledge and understanding of a topic, it is difficult for them to go back and teach the basics, but you do a great job of breaking everything down to a beginner level. I would love to be able to explain things in such a clear, concise and interesting way.
@rohitawasthi9012
@rohitawasthi9012 3 жыл бұрын
You explain things very well. Maybe you can make a video on implementation of stack or an intermediate difficulty example of stack so we get a better understanding of how to implement it in various scenarios.
@Respect_V187
@Respect_V187 3 жыл бұрын
Love your videos bro! please keep making them. I learned a lot from your videos and I actually made Tic-tac-toe game in Java by watching your tutorial
@vinaystricker9930
@vinaystricker9930 3 жыл бұрын
This series of DSA helps so many programming aspirants.Thanks BRO for this wonderful tutorial..
@BroCodez
@BroCodez 2 жыл бұрын
You're welcome! Thanks for watching!
@olgavasileva2521
@olgavasileva2521 Жыл бұрын
You are the best teacher. Thanks for your work.
@zakmartin7567
@zakmartin7567 2 жыл бұрын
awww. you blew up on youtube. It's always nice seeing your numbers go up when I return to school and your channel after term breaks. thanks big bro(code)
@K-tf5ph
@K-tf5ph 3 жыл бұрын
I can't thank you enough bro!! Appreciate it ☺️
@edgetech3016
@edgetech3016 3 жыл бұрын
I have seen many videos on dsa but they are always say dsa is very hard so on.. but your learning style is very different i understand stack very easily thank you for making this video..😊😊😊🙏
@huy906
@huy906 2 жыл бұрын
I suggest you do BFS and DFS algorithms because most people find it difficult to mess with, in my perspective, I know it's kinda related to recursion but this is on a whole next level . . . with hamilton or Dijkstra as well, thank you and have a good day
@user-te6il3gw4d
@user-te6il3gw4d Ай бұрын
Formal and interesting at the same time, nice explanation!
@leslilawrence5733
@leslilawrence5733 3 жыл бұрын
My bro accepted the request of DSA 👊 I'm grateful to you bro ❤️ I'm very excited to learn DSA from you 🤯 Thank You 😁🙌
@joseoterol
@joseoterol 10 ай бұрын
Thanks mate, I love your videos, they are really helpful
@iRandroid
@iRandroid 3 жыл бұрын
Thank bro ❤️ your videos are awesome, they are not just educational, it's also fun ❤️❤️
@Xh8o
@Xh8o 8 ай бұрын
Wow this video awnsered quite a few questions i had about stacks.
@Luisangel-gu4iz
@Luisangel-gu4iz Ай бұрын
best explanations on yt on data structs
@StarInSl3ep
@StarInSl3ep 3 жыл бұрын
Cant wait to see more videos under this subject keep the good work man much appreciation
@BroCodez
@BroCodez 3 жыл бұрын
Thanks for watching! I will try to release these weekly
@PhilipLafeber
@PhilipLafeber 2 ай бұрын
Theoretical explanation WITH visual support. Wel done!
@aleksandarduncevic9548
@aleksandarduncevic9548 6 ай бұрын
Great content, you are explaining topics in very understandable way.
@Jitoro5
@Jitoro5 6 ай бұрын
Amazing! thanks for sharing your knowledge with all of us.
@prayushgiri6515
@prayushgiri6515 Жыл бұрын
great vid man thank you for all your hard work and fun way of describing things see you soon in another bro code vid!
@caiosiqueira6138
@caiosiqueira6138 2 жыл бұрын
You're helping me a lot, thanks!
@chadsmith71
@chadsmith71 4 ай бұрын
You had me at Skyrim... what an amazing game (and soundtrack).
@inamullahkhan7793
@inamullahkhan7793 3 жыл бұрын
I think I'll understand data structures and algorithms very well from your tutorials series very excited thank you Bro.....
@daytonwickerd6212
@daytonwickerd6212 18 күн бұрын
Your Videos are fantastic. You explain things very well and are very entertaining. Thanks for making my studies fun.
@okorougochukwusamuel9962
@okorougochukwusamuel9962 2 жыл бұрын
OMG !!! data structure made easy , you killed it bro .
@derfwerd
@derfwerd Жыл бұрын
I still have FF7 for playstation 1 from when I was a little kid. So many discs. One of my favorite games of all time.
@blabberq
@blabberq 2 жыл бұрын
Everything I needed, thank you!
@hassanhussam7300
@hassanhussam7300 3 жыл бұрын
learning to program becomes very easy with you. Thank you. Always LIKE
@tekovadeearth866
@tekovadeearth866 2 жыл бұрын
oh man, this video was absolute gold! thanks bro
@felipecherpinski6585
@felipecherpinski6585 2 жыл бұрын
This is a random comment. Your videos are simple and easy to understand! Thank you!
@nareshnagaraj-kx1xb
@nareshnagaraj-kx1xb Жыл бұрын
example is the ultimate bro!!!
@marianojimenez990
@marianojimenez990 4 ай бұрын
Great explanation!! Grettings from Argentina!!
@charlenebowman9112
@charlenebowman9112 Жыл бұрын
New Subbie!! This is great much better than the dry textbooks. I'll be using your playlists😃 for this class and my next one.
@igoerche
@igoerche 10 ай бұрын
Great Content, thanks! Gladly more of it!
@TheSunr1se
@TheSunr1se 2 жыл бұрын
Dropping a comment down below. Really good explained. Nice video
@darshanshah9152
@darshanshah9152 2 ай бұрын
Beautifully explained
@brandonkruger9040
@brandonkruger9040 3 жыл бұрын
Shot bro this video's timing is perfect as my exam will include data structures and algorithms. Cheers!
@venkatmadduri4401
@venkatmadduri4401 2 жыл бұрын
Thank you bro, you explained stacks very well.
@tw3638
@tw3638 Жыл бұрын
Bro blessed the homie with this fye explanation
@aaf2011
@aaf2011 Жыл бұрын
thank you very much , this tutorial is very inspirational and useful. now i get it so easy.
@monarch2002
@monarch2002 Жыл бұрын
tomorrow I got DSA internals it helped me at the last minute thank u so much @bro code 😊
@azuzal-badri7257
@azuzal-badri7257 Жыл бұрын
Love you BRO el mejor tutorial en el mundo 🥰
@TarekBuhdeima
@TarekBuhdeima Жыл бұрын
Awesome explanation at just the right speed
@anxiousdev555
@anxiousdev555 7 ай бұрын
Excellent Tutorial!
@meltdown6856
@meltdown6856 3 жыл бұрын
Hey Broo, long time! Just returned here to see that this channel has literally blown up! You deserve it, with videos like these, I'm just waiting for a million :D
@BroCodez
@BroCodez 3 жыл бұрын
Hey MeltDown! Thanks for the support! Yep, it's been a heck of a ride! We'll hit that 1M mark eventually :)
@drewbhardwaj
@drewbhardwaj 2 жыл бұрын
@@BroCodez We'll hit 1M in no time.🍾
@user-uh2lr3lw1x
@user-uh2lr3lw1x 5 ай бұрын
i cant believe, im just finding out about you, omggg next semester will definitely go smoothly
@kia808
@kia808 Жыл бұрын
Best explanation of stack on KZbin.. 😇
@soumyachakraborty2004
@soumyachakraborty2004 Жыл бұрын
you're teaching amazing bro... better than that old CS teacher ....
@imadiman528
@imadiman528 10 ай бұрын
Thank you you nailed it teacher
@jamesbyrne5049
@jamesbyrne5049 Жыл бұрын
Thanks for the help brotha
@Yellow_snowdude
@Yellow_snowdude 3 ай бұрын
I love your videos Thank you soooo much
@dannyrand2543
@dannyrand2543 Жыл бұрын
Really helpful, thanks bro!
@shakirvlog9584
@shakirvlog9584 3 жыл бұрын
Broo ur Code Is Clean And Simple And I loved it :)
@priyansshraj
@priyansshraj 3 жыл бұрын
You presentation in awesome "bro" 😃😄 You are great. 🙌🙌
@adolfochafardett324
@adolfochafardett324 Жыл бұрын
Really interesting man, Its very helpful knows about the differents DS&A Thank you (y)
@satyam1543
@satyam1543 Жыл бұрын
i really liked your way of explanation
@redaboukdir5678
@redaboukdir5678 2 жыл бұрын
Thank you so much, I like the video games example, it really helped me to understand how Stack works clearly. One question Bro: I found many data structures tutorials on KZbin that contain more than 30 videos, but I chose your tutorial because I like your way of explaining. Now I am wondering if this tutorial(your tutorial) covers the data structures fundamentals, or I should follow more tutorials.
@russelcruz491
@russelcruz491 2 жыл бұрын
thank you so much bro, a lot of help
@murilosilvestre7736
@murilosilvestre7736 2 жыл бұрын
love that, please keep this serie of videos of DS and A
@BroCodez
@BroCodez 2 жыл бұрын
I will!
@mohamedsobhy6441
@mohamedsobhy6441 3 жыл бұрын
Wonderful ❤️❤️❤️❤️ Hope you explain all course
@zanetorserwaah8263
@zanetorserwaah8263 Жыл бұрын
Good video and I love your approach
@horiaungureanu4547
@horiaungureanu4547 4 ай бұрын
good easily to grasp content for noobs, thank you!
@LotannaEzeuko
@LotannaEzeuko 6 ай бұрын
love the games example it was fun thankssss
@mikeba3809
@mikeba3809 2 ай бұрын
I think the biggest thing holding the videos in the playlist back is that you are demonstrating the concepts using Java.
@C.Chavis
@C.Chavis 2 ай бұрын
Thank you once again!!
@ysfzctn
@ysfzctn 3 ай бұрын
Really helpful and convenient.
@SEE.ME.N0.M0RE
@SEE.ME.N0.M0RE 2 жыл бұрын
Thank you so much!
@myluong1533
@myluong1533 2 жыл бұрын
hey your coding videos rock thank you so much!!
@maksimmakarov9541
@maksimmakarov9541 Жыл бұрын
thx sir. very good explanation with videogames :))
@khasanovabdurauf3885
@khasanovabdurauf3885 3 жыл бұрын
Really helpful video, thanks
@wasteofo2541
@wasteofo2541 Жыл бұрын
Thanks for explaining
@patrickorihuela91
@patrickorihuela91 Жыл бұрын
This guy is next level.
@atmannagar2152
@atmannagar2152 3 жыл бұрын
Can you please create all DSA videos rapidly , I just watch your stack video and I'm really amazed , you're doing great bro ✌️
@lmao9904
@lmao9904 7 ай бұрын
great video, thanks!
@tarkalponar1279
@tarkalponar1279 Жыл бұрын
This was very helpful thanks
@mindreader860
@mindreader860 3 жыл бұрын
Love you Bro❤️😍 From Egypt ✌️
@Mr.PolyMath
@Mr.PolyMath 9 ай бұрын
very helpful and succinct!
@mythos03
@mythos03 Жыл бұрын
wow man, amazing video!
Learn Queue data structures in 10 minutes 🎟️
10:07
Bro Code
Рет қаралды 101 М.
Learn Insertion Sort in 7 minutes 🧩
7:05
Bro Code
Рет қаралды 173 М.
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 62 МЛН
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 171 МЛН
Learn Big O notation in 6 minutes 📈
6:25
Bro Code
Рет қаралды 194 М.
Learn Data Structures and Algorithms for free 📈
4:00:15
Bro Code
Рет қаралды 1,4 МЛН
How to Implement a Stack in C (+ encapsulation)
15:38
Jacob Sorber
Рет қаралды 57 М.
Learn Adjacency Matrix in 10 minutes ⬜
9:52
Bro Code
Рет қаралды 44 М.
you will never ask about pointers again after watching this video
8:03
Low Level Learning
Рет қаралды 2 МЛН
Stack vs Heap Memory - Simple Explanation
5:28
Alex Hyett
Рет қаралды 181 М.
The Dictionary Data Structure in C# in 10 Minutes or Less
10:20
IAmTimCorey
Рет қаралды 28 М.
Обзор игрового компьютера Макса 2в1
23:34
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
Samsung Android Mobile Battrey
0:39
Gaming zone
Рет қаралды 342 М.
Эффект Карбонаро и бумажный телефон
1:01
История одного вокалиста
Рет қаралды 2,5 МЛН