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)
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)
@@msr3171 bro madam said that take top most 2 values in the stack in that's top value 1 always should noating operand 2, following value 2 noates operand 1 then we perform operation =operand 1(-, /, +, *) operand 2 hope u understand 🤗🤗
1 hr before exam 💀
Same ...lol
12hr to go 😅
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
Literally the best explanation I can find on RUclips
Thank you mam , u r teaching is very easy to understand than in material
No doubt your the bestest teacher of this subject 💖💐. Lots of respect for you 💐🌸
You made this topic very easy 👍 thank you so much 😊
thanks all of you ,the tutor clearly explained you made me brilliant
This is the best explanation that I have seen ever thank you
This vedio is most helpfull for me in semister exams thank you so much mam because explain this topic
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...
Amazing explanation mam 🙏🙏 thank you mam
Thanks mam I inspired your way of teaching.
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!!
Literally fantastic mam thank you 🎉🎉
TQ ma'am whn u was explaining I felt so easy ❤
Thank you for this best explanation!!!!!!
nice job keep it up thank you
Thank you mam amazing explanation 😍😍😍
Thank u very much u are a Awesome Techer
thanks this video really helped me 😍
Your way of teaching is very gud
Super teaching style....
I am watching thid one day before exam
Pls help
Thanks from Bangladesh. I am preparation for ITEE FE.
hmm good explanation madam.....
Simple and clear tq maam
Thanku so much ma'am very helpful ♥️🙏🏼✨
Clear explanation
Tnx mam
ultimate explained 🎉
thank you sis better job
Tq is this useful for me
Very good explanation thank you so much
Beautiful in class 2hr they explained nothing understand now perfect mam
thank you so much ma'am :)
Thank you so much Madam....Helped me too much for ensuing semester exam....🤭🤭🤭🤭
Thx for great explanation
thank you maam for the video
it was really helpful
Awesome video
Thank you so much
Very well explained ❤
Thank you so much mam 😊
can i use this example for my ppt for : Postfix example in stack (Data structure) ?
Thankyou✨️
Tq for the explanation
Thanks mam and nice explanation
thank you mam it is very helpful
Mam TQ u so much
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
Mam Explanation is nice
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
thank you sis
Thank u so much mam 💓
you are the rockstar............
Amazing
Thank you so much madam
Superb explanation
Of there is plus in 2 nd place what to do
Very nice explanation
Very helpful ☺️😃
Thank you mam
thank you!
Tq Yaar...
It helpede I'm my mid examinations in ds
Thankyou mam
Well deserved 👏
Thankyou ❤️
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
thank u so much
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.
Thnx mam
helpful video thank you
Thanks Mama
Thank you :)
Thanks ☺️
Mam if we divide 4 by 12 the answer changes know mam??? How r u saying that 12 is divided by 4
Thank you🌹🙏🙏🙏
Watching this video for the 2nd time after 6 months 🙃
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
what to if $ symbol is given
Nice mam 😊
Thanks
THANKYOU mam
Thanks.
Mam only this numbers are used but any numbers we used this expression
Wohoo
thank u
Tq mam
what about the precedence? Didn't we have to evaluate / and * first???
tq aunty
Thnx
great
Mem aapne 12 ko ek sath kyo liya isme to har ek symbol alag alag liya jata h jese 12 ko lena tha 1,2
What if $ is used
thanks
At 3:25 madam why you not take 4/12 instead of 12/4 explain someone please
Why are u taking 12/4 only taken also 4/12 is it correct
Thank
3:29 when u pop the elements that will be like this 4/12,but how 12/4 plz tell me😓😓😓😓
Same doubt
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)
@@dirisalapriyanka sorry.. It's not clear can you explain it once again
@@msr3171 bro madam said that take top most 2 values in the stack in that's top value 1 always should noating operand 2, following value 2 noates operand 1 then we perform operation =operand 1(-, /, +, *) operand 2 hope u understand 🤗🤗