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 Жыл бұрын
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
@alexrubio95079 ай бұрын
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
@jordanyoung18362 жыл бұрын
I'm here to learn this because I'm majoring in cybersecurity, I'm studying to become a software developer
@notyournormaldev14192 жыл бұрын
Cyber security is exclusive and great too man why are you leaving it.
@tmphu2 жыл бұрын
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?
@jordanyoung18362 жыл бұрын
@@tmphu because i think that me doing that would be cool...i get to design web browsers, apps and many other things
@nerd61342 жыл бұрын
@@jordanyoung1836 bro I’m doing web Dev and it ain’t fun. Go with cyber it’s the best
@lighteningtree89902 жыл бұрын
@@nerd6134 I'm also doing web dev but it's fun for me... it's all subjective
@sandeepchandupatla7832 Жыл бұрын
Just completed this tutorial very nice video ❤
@RobinHistoryMystery5 ай бұрын
probably one of the best stack video out there
@geekyprogrammer48312 жыл бұрын
Tanshiq is a good instructor 😊😊
@sabarisabari49962 жыл бұрын
Sir I like your teaching method
@DLandpscrew0012 жыл бұрын
I love it, I learn new techniques everyday
@georgegray58252 жыл бұрын
Wow, just now when I am learning Dynamic Memory. Thank you for uploading this!
@daayemshehzad2 жыл бұрын
Honestly this was such a good video tutorial. Loved it!!
@enes53452 жыл бұрын
Seems like you have watched it
@daayemshehzad2 жыл бұрын
@@enes5345 yup it was a very informative tutorial
@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.
@belalelhagrasy66212 жыл бұрын
Guys what is the best book or free course to learn computer architecture?
@random_things20232 жыл бұрын
Thanks for that course
@אני-ש3ת10 ай бұрын
hey,in redundat braces, why u didnt check before the while if stack is empty?
@lex-zt6uc2 жыл бұрын
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
@organizedchaos45592 жыл бұрын
Is there a playlist for this for each data structure?
@user-ez9yi2dc6n2 жыл бұрын
.......
@gshan9942 жыл бұрын
Search for strivers sde sheet
@servantofthelord814710 ай бұрын
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.Luethy2 жыл бұрын
When will a tutorial about Ionic come?
@MaxMov-sp8hr2 жыл бұрын
I'm sorry, but where is the link to Unix based paths resources? I can't find...
@mdaalishanraza39282 жыл бұрын
not there but read the question properly you will understand
@aleph05402 жыл бұрын
Informative!
@jordanyoung18362 жыл бұрын
Hello...I'm jordan
@freecodecamp2 жыл бұрын
Hi Jordan. I'm freeCodeCamp. 😀
@davidaronowitz12502 жыл бұрын
thanks
@buggsbunny0072 жыл бұрын
Awesome
@marhawk64682 жыл бұрын
This was amazing!!!!!!! Thanks you
@lex-zt6uc2 жыл бұрын
thx mate
@disrael21012 жыл бұрын
What is this actually used for in real life applications?