LeetCode Interview Problem - Reverse Polish Notation

preview_player
Показать описание
#keeponcoding #tech #programming

*** SUBSCRIBE TO THE CHANNEL ***

-----------------------------------

*** SUPPORT ME ON PATREON ***

-----------------------------------

*** INSTAGRAM ***
Рекомендации по теме
Комментарии
Автор

Great explanation. I’m about 10 problems away from solving 40 leetcodes which is my target to begin only doing mediums till I graduate.. this problem is super cool and this code is gonna help a lot. I keep forgetting that you can just use pop and that it returns the value and removes it. So, I’m glad your code made that easily readable and understandable. I love me some python for leetcode but damn Java’s collection library is really something else.. it’s making me want to make the switch

tannerbarcelos
Автор

Time Complexity: O(n)
Space Complexity: O(n)
n: being the length of the array "tokens"

maxbarahona
Автор

thank u, i could do my cw because of u
love u

XboxSeriesX
Автор

Nice solution. I have a bad habit of not considering other data structures, so it's good to see other perspectives.

dannynip
Автор

Wow this was great. However, how should you do to be able to have multiple digit expressions?

JimmieGirig
Автор

that was great, I've got a question what happens when you are dividing is it possible to get a decimal number since your val2 is integer

casper
Автор

hey sir how you get dark mode of leetcode?

MK-xlyo
visit shbcf.ru