And btw first operand pushed in stack will be operated with the operand on the top of the stack so first 12 was pushed then 4 was at the top of the stack so 12 /4. If 4 was pushed 1st and 12 would be at the top then I believe that would have happened the case you mentioned above
Mam in the stack you placed 40,12,4 and as per the next operator / we have divided 12/4 which is divisible. What should we do if we get a non divisible number
If it’s evaluating prefix expression then u do 4/12, but while evaluating postfix expression u do 12/4. For prefix the order is (1st top element-operator-2nd top element) For postfix the order is(2nd top element-operator-1st top element)
THIS IS THE BEST EXPLANATION YOU WILL FIND ON POSTFIX EVALUATION ON THE ENTIRITY OF THE WORLD WIDE WEB THANK YOU MADAME YOU ARE A LEGEND
Yes
1 hr before exam 💀
Same ...lol
Literally the best explanation I can find on TH-cam
thanks all of you ,the tutor clearly explained you made me brilliant
Thank you mam , u r teaching is very easy to understand than in material
You made this topic very easy 👍 thank you so much 😊
This is the best explanation that I have seen ever thank you
Thanks mam I inspired your way of teaching.
No doubt your the bestest teacher of this subject 💖💐. Lots of respect for you 💐🌸
I am watching your video on 9th September,2022 and in this time your video is help me so much to understand questions. Thank You 🙂
thank you, mam
for giving the easiest method of it...
Literally fantastic mam thank you 🎉🎉
Amazing explanation mam 🙏🙏 thank you mam
TQ ma'am whn u was explaining I felt so easy ❤
This vedio is most helpfull for me in semister exams thank you so much mam because explain this topic
Thank u very much u are a Awesome Techer
i understood this topic i was struggling with so long in 3 minutes thank you soooo much for this explanation
thank you very much ma'am , you saved my day!!
Thanks from Bangladesh. I am preparation for ITEE FE.
Thank you for this best explanation!!!!!!
Thank you mam amazing explanation 😍😍😍
Thanku so much ma'am very helpful ♥️🙏🏼✨
nice job keep it up thank you
Your way of teaching is very gud
Super teaching style....
thank you maam for the video
it was really helpful
Very good explanation thank you so much
thanks this video really helped me 😍
Beautiful in class 2hr they explained nothing understand now perfect mam
thank you sis better job
thank you so much ma'am :)
hmm good explanation madam.....
Tq is this useful for me
Thank you so much Madam....Helped me too much for ensuing semester exam....🤭🤭🤭🤭
Simple and clear tq maam
Thank you so much
Awesome video
ultimate explained 🎉
Thank you so much madam
Thx for great explanation
Thankyou✨️
Thank you so much mam 😊
Tq for the explanation
Clear explanation
Tnx mam
Very well explained ❤
Thanks mam and nice explanation
thank you mam it is very helpful
helpful video thank you
Mam Explanation is nice
It helpede I'm my mid examinations in ds
thank you sis
Mam TQ u so much
Amazing
I am watching thid one day before exam
Pls help
Thank u so much mam 💓
Superb explanation
thank you mam
Very nice explanation
3:26 if we take out first two elements.. shouldnt it be 4/12 instead of 12/4 ? thanks for the video.
No. The top element goes after the operator and next popped one goes on left of operator
Thankyou ❤️
thank you!
Thankyou mam
Thank you🌹🙏🙏🙏
Tq Yaar...
Very helpful ☺️😃
thank u so much
you are the rockstar............
Thanks ☺️
Thanks Mama
can i use this example for my ppt for : Postfix example in stack (Data structure) ?
Thank you :)
Watching this video for the 2nd time after 6 months 🙃
Thanks
Well deserved 👏
Thanks.
Nice mam 😊
THANKYOU mam
Thnx mam
thank u
Thanks mam
Wohoo
in the last (-) operator, shouldn't it be 3 - 40 instead of 40 - 3 ? at Time 3:40
no
No, like it's 12/4 not 4/12.
Of there is plus in 2 nd place what to do
Mam why shouldn't it be 4/12....in place of 12/4 at 3:41 .....this problem is faced in division and subtraction
I agree with you please maam tell us!
Keep it as simple as possible, 4 /12 will give output in Decimal so 12 /4 and there's no problem in doing it.
And btw first operand pushed in stack will be operated with the operand on the top of the stack so first 12 was pushed then 4 was at the top of the stack so 12 /4. If 4 was pushed 1st and 12 would be at the top then I believe that would have happened the case you mentioned above
Mam in the stack you placed 40,12,4 and as per the next operator / we have divided 12/4 which is divisible. What should we do if we get a non divisible number
May be we’ll ignore the decimal part
Thnx
Mam if we divide 4 by 12 the answer changes know mam??? How r u saying that 12 is divided by 4
Tq mam
tq aunty
Mam i have a doubt.. When dividing the top most values 4&12 it has to be done as 4/12 or 12 /4 which one is correct?
this confuse me tooo
If it’s evaluating prefix expression then u do 4/12, but while evaluating postfix expression u do 12/4.
For prefix the order is (1st top element-operator-2nd top element)
For postfix the order is(2nd top element-operator-1st top element)
12/4 because 4 is top value with that you have divided 12
thanks
great
what to if $ symbol is given
what about the precedence? Didn't we have to evaluate / and * first???
Mam only this numbers are used but any numbers we used this expression
What to do when there is dollar symbol
Thank
Nice mam
Develop and Show the Simulation Using Stack for Evaluating of the Following Expression 12+3*14-(5*16)+7.
Please answer akka...
What if $ is used