Тёмный

Learn Stack data structures in 10 minutes 📚 

Bro Code
Подписаться 2,2 млн
Просмотров 216 тыс.
50% 1

Опубликовано:

 

1 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 486   
@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 11 месяцев назад
Is there a video where you explain how the methods work?
@Aditya-oi5hr
@Aditya-oi5hr 4 месяца назад
Xxx
@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 9 месяцев назад
Did you complete what you have started?
@rain407
@rain407 9 месяцев назад
​@@162sujiths4 we are asking the same question on the same day lol
@yasminemokraoui3855
@yasminemokraoui3855 7 месяцев назад
Do you know if this is included in the 12 hours one ?
@CataStudies
@CataStudies 7 месяцев назад
@@162sujiths4 No :) I completely gave up on programming as a career
@CataStudies
@CataStudies 7 месяцев назад
@@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!
@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.
@inamullahkhan7793
@inamullahkhan7793 3 года назад
Well bro data structure and algorithms tutorials are finally there so excited for these tutorials.........
@alaglevel8315
@alaglevel8315 3 года назад
Hello sir , can you make DSA in Python ?? Please !
@chzzh6634
@chzzh6634 3 года назад
Bro, ILY. Data structures finally T_T I'm waiting for another data structures & algo vids :)
@RaevenConsolacion
@RaevenConsolacion 2 месяца назад
bro got good games
@jinxKombat
@jinxKombat 2 года назад
You're amazing. Every video I find explains the data structure, but fail to provide a coding example. You are a true Bro.
@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 😁🙌
@zoni36
@zoni36 3 года назад
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.
@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!!!
@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👍.
@vinaystricker9930
@vinaystricker9930 3 года назад
This series of DSA helps so many programming aspirants.Thanks BRO for this wonderful tutorial..
@BroCodez
@BroCodez 3 года назад
You're welcome! Thanks for watching!
@michelberden3717
@michelberden3717 2 года назад
This guy is way too underrated imo
@dasdisdus774
@dasdisdus774 3 года назад
I love how you explain this as simple as possible with some joke😂 Thank you and don't stop making video like this!!!
@eyadelbanna4603
@eyadelbanna4603 3 года назад
I want this course in python 😥😥 plZZZZZZZZZZZ
@monarch2002
@monarch2002 Год назад
tomorrow I got DSA internals it helped me at the last minute thank u so much @bro code 😊
@mohamedsobhy6441
@mohamedsobhy6441 3 года назад
Wonderful ❤️❤️❤️❤️ Hope you explain all course
@proxyaccount4466
@proxyaccount4466 Год назад
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.
@nareshnagaraj-kx1xb
@nareshnagaraj-kx1xb Год назад
example is the ultimate bro!!!
@pistolerointergalactico9019
@pistolerointergalactico9019 7 месяцев назад
E.T copies would generate stackoverflow 100%
@gutzimmumdo4910
@gutzimmumdo4910 Год назад
best explanations on yt on data structs, not only the intuition but the code aswell, great job👌👏
@sourabbharmoria4989
@sourabbharmoria4989 8 месяцев назад
this is a random comment
@MrMashgiach
@MrMashgiach 10 месяцев назад
Thanks!!
@christosbinos8467
@christosbinos8467 2 месяца назад
Learning data structures in C and then coming across a tutorial in other languages often feels like cheating. Mystack = new Stack Is a wild thing to see. Very convenient however.
@EndlessGamerBlue-EG
@EndlessGamerBlue-EG 3 года назад
LinkedLists next !!! 🔥
@ilyaskhan.1994
@ilyaskhan.1994 Год назад
Java
@yohanaf
@yohanaf 2 года назад
9:25 Here is my random comment: import java.util.Random; public class Main{ public static void main(String[] args) { Random comment = new Random(); // (...) and I don't know what to write here, but the important thing is that this is a random comment, I think (anyway, I'm accepting suggestions to complete the code).
@blueberry5992
@blueberry5992 Год назад
to learn coding and land ur firstr job ever u just need: 1. CS50's introduction to computer science 2.Codecademy 3.Programiz 4.Bro Code 5. Web Dev Simplified
@danielmilewski7659
@danielmilewski7659 2 года назад
comment for stacks!
@justgetgood8305
@justgetgood8305 4 месяца назад
8900th like!
@adolfochafardett324
@adolfochafardett324 Год назад
Really interesting man, Its very helpful knows about the differents DS&A Thank you (y)
@rajeshveri121
@rajeshveri121 3 года назад
Sir... Pls help... is it possible to add arrays If we use import java.util.stack? I dnt know how to place it in my source code 😭😭😭.... I'm looking for ur reply asap... Really neeedddd it soo much 😭😭😭
@jevardspproxyacct6832
@jevardspproxyacct6832 2 года назад
commenting for the yt algo me: cramming for some tech interviews, suddenly wakes up in Skyrim, goddammit Todd!
@shubhamboghara6232
@shubhamboghara6232 3 года назад
< thanks bro for support the community /> < best explain ever :-) />
@daytonwickerd6212
@daytonwickerd6212 4 месяца назад
Your Videos are fantastic. You explain things very well and are very entertaining. Thanks for making my studies fun.
@priyansshraj
@priyansshraj 3 года назад
Wow. Finally found man with 0 hater. See 0 dislikes on your video 😊
@nithititoo1990
@nithititoo1990 7 месяцев назад
i wanted to learn DS&A in javascript.... will this video series useful for me?? because it is in java
@iRandroid
@iRandroid 3 года назад
Thank bro ❤️ your videos are awesome, they are not just educational, it's also fun ❤️❤️
@joelikespotatoes8321
@joelikespotatoes8321 Год назад
Man even my programming tutorials for college are dissing FO 76 lol.
@sug_madic7683
@sug_madic7683 3 года назад
"i have 0% chance of having AIDS because i am virgin "- Mine random comment
@らーめん-t9n
@らーめん-t9n 3 года назад
I would like you to teach Jsp and servlet I always study with your contents From Japan
@askwhole1228
@askwhole1228 2 месяца назад
watching this makes me believe that i can clutch my failing course which is DSA, ill update when i take the "W"
@azuzal-badri7257
@azuzal-badri7257 Год назад
Love you BRO el mejor tutorial en el mundo 🥰
@Talal2003
@Talal2003 Год назад
random comment
@Michael_Mironov
@Michael_Mironov 6 месяцев назад
I really want to see that folder called D&D... Just couldn't help but wonder
@YOUSUFUMER-t7i
@YOUSUFUMER-t7i 6 месяцев назад
This is just your sneaky way of showing us your game collection, right?
@pennylee1127
@pennylee1127 3 года назад
Hey Bro Code, your videos are amazing and explained the concept clearly with given the reality example. Really appreciated that!
@maksimmakarov9541
@maksimmakarov9541 Год назад
thx sir. very good explanation with videogames :))
@Acel1123
@Acel1123 Год назад
What is the purpose of stackoverflow if stack has a dynamic storage?
@trevorpaden175
@trevorpaden175 Год назад
My professor is treating stacks like an array. She has us resetting top every single time with push something onto the stack. Is this wrong or just annoying?
@JessicaIdike
@JessicaIdike 10 месяцев назад
i cant believe, im just finding out about you, omggg next semester will definitely go smoothly
@ykkok399
@ykkok399 2 года назад
Why do you use Stack? I reed that to work with Stack you need to choose Deque. Am i right or wrong?
@chienphung9633
@chienphung9633 Год назад
all in all, stack is last-in first-out. Push function is to add elements, pop function is to take elements from top and throw them anyway, peek function is to take elements from top but not erase elements in stack.
@virendramali1754
@virendramali1754 Год назад
Thanks for DSA in Java, love from India❤
@Emblazon
@Emblazon Год назад
I was able to scratch my bols so hard that they bled this is a random comment btw
@illi1154
@illi1154 Год назад
W vídeo!
@penguinengineer1905
@penguinengineer1905 Год назад
bros got the mc legacy edition! im subscribing just for that!
@sylvanfranklin6904
@sylvanfranklin6904 3 года назад
omg hand reveal
@BroCodez
@BroCodez 3 года назад
yes, I have hands
@sylvanfranklin6904
@sylvanfranklin6904 3 года назад
@@BroCodez n-o-o-o-o-h
@UlricRaging
@UlricRaging Год назад
Thx this video was very helpful
@mustafecismaan9394
@mustafecismaan9394 Год назад
It would be lovely if you've used C# Language
@odinpro-ln4qk
@odinpro-ln4qk Год назад
done undo redo features in text editors moving back/forward through browser history backtracking algorithms (maze, file directories) calling functions (call stack) methods push pop peek search LIFO
@drewbhardwaj
@drewbhardwaj 3 года назад
just commenting to destroying youtube algorithm.
@venx1567
@venx1567 11 месяцев назад
When it showed the bethesta logo I thought my skyrim would run
@cotolic
@cotolic 3 месяца назад
BroCode is that indian guy who can teach you everything easily
@thelegendmsdhoni8632
@thelegendmsdhoni8632 2 года назад
What I do first learn. Java or python for master in data structures
@badribadri4184
@badribadri4184 3 года назад
X language >> assembly >> bytcode >> application
@soulninjadev
@soulninjadev 3 года назад
just commenting for the algorithm
@himanshujoshi7938
@himanshujoshi7938 3 года назад
Plz Bro make videos on tkinter , and on flask in python
@horiaungureanu4547
@horiaungureanu4547 8 месяцев назад
good easily to grasp content for noobs, thank you!
@YousefHussain-dl7ir
@YousefHussain-dl7ir 3 месяца назад
this is a random comment! and aaammm yes, this is a great video and serious keep it up!
@igoerche
@igoerche Год назад
Great Content, thanks! Gladly more of it!
@bashirulagoke684
@bashirulagoke684 3 месяца назад
what reasons you'd used stack as a data structure in a java program ?
@adolfocarrillo248
@adolfocarrillo248 3 года назад
Are you a fricking Robot? Your voice sounds like robotized.🤖LIFO🤖🚿
@BroCodez
@BroCodez 3 года назад
I may be a tts
@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 3 года назад
@@BroCodez We'll hit 1M in no time.🍾
@dailylezi7988
@dailylezi7988 3 месяца назад
so this is the original playlists of data structures and algorithms
@marianojimenez990
@marianojimenez990 8 месяцев назад
Great explanation!! Grettings from Argentina!!
@mrbigman9980
@mrbigman9980 2 года назад
Can you do a tutorial about debugging in eclipse?
@tnkabtus
@tnkabtus 2 года назад
teaching with memes, should be the norm.
@dannyrand2543
@dannyrand2543 Год назад
Really helpful, thanks bro!
@apatheist
@apatheist 29 дней назад
yo bro. this is a comment. i wanna learn how ide works
@etcetc3800
@etcetc3800 3 года назад
sup brada where do i send u a beer 6 pak. can you share your loco brahi?
@khasanovabdurauf3885
@khasanovabdurauf3885 3 года назад
Really helpful video, thanks
@malekmousa1038
@malekmousa1038 3 года назад
Hey, can you please make a video about java streams? ;)
@BroCodez
@BroCodez 3 года назад
not a bad idea!
@huy906
@huy906 3 года назад
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
@Mr.PolyMath
@Mr.PolyMath Год назад
very helpful and succinct!
@ayberksch
@ayberksch 8 месяцев назад
random comment
@StevenMartinGuitar
@StevenMartinGuitar 3 года назад
I did think this would be about how to write a stack rather than how to use one
@braydj
@braydj 2 года назад
Just helping out with #2...wait a minute...
@Bennation98
@Bennation98 2 года назад
bro code for life
@rubenmonteiro5436
@rubenmonteiro5436 Год назад
Thanks, im gonna pass in ATAD against Fibonnaci now
@tarkalponar1279
@tarkalponar1279 Год назад
This was very helpful thanks
@chrisagasay
@chrisagasay Год назад
The way you explained this made things so clear to me. Thank you!
@Dadax9398
@Dadax9398 3 года назад
Top level thumbnail
@juanmacias5922
@juanmacias5922 Год назад
This is a RANDY comment.
@alvinoctaviano6518
@alvinoctaviano6518 Месяц назад
Helped me so much when my lecturer presecense sucks
@LotannaEzeuko
@LotannaEzeuko 11 месяцев назад
love the games example it was fun thankssss
@sanabil2531
@sanabil2531 3 года назад
please bro more of data structures and algo soon please
@alexandrugavrila1433
@alexandrugavrila1433 3 года назад
Hi
@BroCodez
@BroCodez 3 года назад
Hi Alexandru!
Далее
Learn Queue data structures in 10 minutes 🎟️
10:07
Bearwolf - GODZILLA Пародия Beatrise
00:33
Просмотров 359 тыс.
Top 7 Data Structures for Interviews Explained SIMPLY
13:02
Making an Algorithm Faster
30:08
Просмотров 91 тыс.
Being Competent With Coding Is More Fun
11:13
Просмотров 84 тыс.
Premature Optimization
12:39
Просмотров 812 тыс.
My Brain after 569 Leetcode Problems
7:50
Просмотров 2,6 млн
before you code, learn how computers work
7:05
Просмотров 382 тыс.
Stack Data Structure In STL | C++ Tutorial
16:59
Просмотров 13 тыс.
All Rust features explained
21:30
Просмотров 310 тыс.