Basic Calculator | Leetcode 224

preview_player
Показать описание

NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. Given a string s representing an expression, implement a basic calculator to evaluate it.

Topic: #Leetcode224 #BasicCalculator #Stack

Used #DataStructure: #Stack

#TimeComplexity: O(n)

#SpaceComplexity: O(n)

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

Linked Questions:

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

Smimilar Questions:

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

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

#Leetcode224 #BasicCalculator #Stack #Diwakar



.
.
.
Happy Programming !!! Pep it up 😍🤩
.
.
.
#pepcoding #code #coder #codinglife #programming #coding #java #freeresources #datastrucutres #pepcode #competitive #competitiveprogramming #softwareengineer #engineering #engineer
Рекомендации по теме
Комментарии
Автор

You go into the all the minor details and explain everything so well! You are a great teacher.

satisfyingwalks
Автор

Once you visit pep coding, its guaranteed that you will leave with full understanding of the solution.

S.Saurabh_
Автор

We can also convert infix to postfix
& then evaluate the postfix expression

sayantaniguha
Автор

thanks, sir for the easiest explanation...

utkarshsharma
Автор

I am not gonna forget this solution for rest of my life

sagarlandge
Автор

what if multiplication and division sign comes ??
will this work?? i guess no!!

saranshsaxena
Автор

I saw few other videos but I think yours is the Best explanation. Thank you and keep up the good work. All the best.

pmsb_
Автор

Best explanation so. far.. Thank you very much..

ankitbhatia
Автор

+ case is not handled tho, what if next char is +

rushie
Автор

the way you explain is awesome bro, keep doing good work. god bless you

NaveenRawat
welcome to shbcf.ru