Stack Data Structure Tutorial - Solve Coding Challenges

  Рет қаралды 69,241

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер
@SuperHARIS14
@SuperHARIS14 2 жыл бұрын
at 1:53:25 its possible that the expression is "5 - ( -2)". Note the space before the "-" so the result won't be correct. We can solve it by looking at the last element in the stack instead. if(s.charAt(i) == '-' && (infix.size() == 0 || infix.get(infix.size()-1).equals("("))) { infix.add("0"); }
@Naoty_san
@Naoty_san Жыл бұрын
Remove book on top = pop (stack.pop() s.pop()) Add = push (p: stack.append(3) c++: s.push(3)) Look at the top = peek (stack[-1] s.top()) Is it empty? (stack (false, it’s empty) s.empty() (true, empty)) 6:23
@alexrubio9507
@alexrubio9507 9 ай бұрын
guys, what this channel does...is unmeasurable. Thank you for your effort and for putting ALL this so, so valuable information online. Especially for us, self-taught :P
@jordanyoung1836
@jordanyoung1836 2 жыл бұрын
I'm here to learn this because I'm majoring in cybersecurity, I'm studying to become a software developer
@notyournormaldev1419
@notyournormaldev1419 2 жыл бұрын
Cyber security is exclusive and great too man why are you leaving it.
@tmphu
@tmphu 2 жыл бұрын
Same question. Cyber security engineer usually earn more than a normal software engineer, and the job market is highly demanding for SEC. May you share why you leave security?
@jordanyoung1836
@jordanyoung1836 2 жыл бұрын
@@tmphu because i think that me doing that would be cool...i get to design web browsers, apps and many other things
@nerd6134
@nerd6134 2 жыл бұрын
@@jordanyoung1836 bro I’m doing web Dev and it ain’t fun. Go with cyber it’s the best
@lighteningtree8990
@lighteningtree8990 2 жыл бұрын
​@@nerd6134 I'm also doing web dev but it's fun for me... it's all subjective
@sandeepchandupatla7832
@sandeepchandupatla7832 Жыл бұрын
Just completed this tutorial very nice video ❤
@RobinHistoryMystery
@RobinHistoryMystery 5 ай бұрын
probably one of the best stack video out there
@geekyprogrammer4831
@geekyprogrammer4831 2 жыл бұрын
Tanshiq is a good instructor 😊😊
@sabarisabari4996
@sabarisabari4996 2 жыл бұрын
Sir I like your teaching method
@DLandpscrew001
@DLandpscrew001 2 жыл бұрын
I love it, I learn new techniques everyday
@georgegray5825
@georgegray5825 2 жыл бұрын
Wow, just now when I am learning Dynamic Memory. Thank you for uploading this!
@daayemshehzad
@daayemshehzad 2 жыл бұрын
Honestly this was such a good video tutorial. Loved it!!
@enes5345
@enes5345 2 жыл бұрын
Seems like you have watched it
@daayemshehzad
@daayemshehzad 2 жыл бұрын
@@enes5345 yup it was a very informative tutorial
@SelfCheckout
@SelfCheckout Жыл бұрын
noob question here, at like 17:21 there's the else case with pass if the stack is empty. Is this necessary? In my head the if statement alone should be enough and maybe you put the else case just for clarity for new programmers.
@belalelhagrasy6621
@belalelhagrasy6621 2 жыл бұрын
Guys what is the best book or free course to learn computer architecture?
@random_things2023
@random_things2023 2 жыл бұрын
Thanks for that course
@אני-ש3ת
@אני-ש3ת 10 ай бұрын
hey,in redundat braces, why u didnt check before the while if stack is empty?
@lex-zt6uc
@lex-zt6uc 2 жыл бұрын
i am still not clear about why we are adding the zero when a- is found at the start or at the start of the opening bracket ,please can someone explain it
@organizedchaos4559
@organizedchaos4559 2 жыл бұрын
Is there a playlist for this for each data structure?
@user-ez9yi2dc6n
@user-ez9yi2dc6n 2 жыл бұрын
.......
@gshan994
@gshan994 2 жыл бұрын
Search for strivers sde sheet
@servantofthelord8147
@servantofthelord8147 10 ай бұрын
Yes! There is! Here are the other FreeCodeCamp Data Structures/Algorithms for Technical Interview Videos : Stack : kzbin.info/www/bejne/hWKuloulbdF4bqM&pp=gAQBiAQB Recursion : kzbin.info/www/bejne/f3une2Ohd91lgq8&pp=gAQBiAQB Linked List : kzbin.info/www/bejne/fpvCo3Rmmc2laKs&pp=iAQB Tree : kzbin.info/www/bejne/nHKki5yud998d6s&pp=gAQBiAQB Backtracking : kzbin.info/www/bejne/d2mTiq2sg9ykjqM&pp=gAQBiAQB Graphs : kzbin.info/www/bejne/qoi5iJh3pr9jjbc&pp=gAQBiAQB Dynamic Programming : kzbin.info/www/bejne/pXPXZmaPl7dsgc0&pp=ygUvZnJlZWNvZGVjYW1wIGRhdGFzdHJ1Y3R1cmUgZm9yIGNvZGluZyBpbnRlcnZpZXc%3D Greedy Algorithms : kzbin.info/www/bejne/mHSaoGuGlLinm5Y&pp=gAQBiAQB Common Interview Questions : kzbin.info/www/bejne/hpbUZXp5hbN2a8U&pp=gAQBiAQB
@Olivier.Luethy
@Olivier.Luethy 2 жыл бұрын
When will a tutorial about Ionic come?
@MaxMov-sp8hr
@MaxMov-sp8hr 2 жыл бұрын
I'm sorry, but where is the link to Unix based paths resources? I can't find...
@mdaalishanraza3928
@mdaalishanraza3928 2 жыл бұрын
not there but read the question properly you will understand
@aleph0540
@aleph0540 2 жыл бұрын
Informative!
@jordanyoung1836
@jordanyoung1836 2 жыл бұрын
Hello...I'm jordan
@freecodecamp
@freecodecamp 2 жыл бұрын
Hi Jordan. I'm freeCodeCamp. 😀
@davidaronowitz1250
@davidaronowitz1250 2 жыл бұрын
thanks
@buggsbunny007
@buggsbunny007 2 жыл бұрын
Awesome
@marhawk6468
@marhawk6468 2 жыл бұрын
This was amazing!!!!!!! Thanks you
@lex-zt6uc
@lex-zt6uc 2 жыл бұрын
thx mate
@disrael2101
@disrael2101 2 жыл бұрын
What is this actually used for in real life applications?
@tahamian4822
@tahamian4822 Жыл бұрын
free Palestine!!!
@creativebanda33
@creativebanda33 5 ай бұрын
I think he is India
@lalrem991
@lalrem991 2 жыл бұрын
Wala!
@ersalomositorusdori308
@ersalomositorusdori308 2 жыл бұрын
i have indian inside of my head
@jordanyoung1836
@jordanyoung1836 2 жыл бұрын
🙂🙂🙂
@yathirajraghavendra1674
@yathirajraghavendra1674 2 жыл бұрын
First view and first comment ❤️
Recursion in Programming - Full Course
1:51:36
freeCodeCamp.org
Рет қаралды 966 М.
Binary Tree Algorithms for Technical Interviews - Full Course
1:48:53
freeCodeCamp.org
Рет қаралды 734 М.
What type of pedestrian are you?😄 #tiktok #elsarca
00:28
Elsa Arca
Рет қаралды 32 МЛН
How To Choose Mac N Cheese Date Night.. 🧀
00:58
Jojo Sim
Рет қаралды 89 МЛН
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 107 М.
Machine Learning for Everybody - Full Course
3:53:53
freeCodeCamp.org
Рет қаралды 8 МЛН
Graph Algorithms for Technical Interviews - Full Course
2:12:19
freeCodeCamp.org
Рет қаралды 1,2 МЛН
you will never ask about pointers again after watching this video
8:03
Linked Lists for Technical Interviews - Full Course
1:27:24
freeCodeCamp.org
Рет қаралды 366 М.
Coding Was HARD Until I Learned These 5 Things...
8:34
Elsa Scola
Рет қаралды 685 М.
5 Good Python Habits
17:35
Indently
Рет қаралды 623 М.