STACK APPLICATION : EVALUATION OF POSTFIX EXPRESSION - DATA STRUCTURES
HTML-код
- Опубликовано: 9 фев 2025
- EVALUATION OF POSTFIX EXPRESSION
Read all the characters one by one from the Postfix expression
Step-1 : If the reading character is OPERAND then push into the stack
Step-2: If the reading character is OPERATOR then
POP the two elements and apply the operator and push
the result back to the Stack.
Step-3: After Completion of reading all the characters from Postfix
expresssion the result will be available in the stack.
ALGORITHM FOR CONVERTING INFIX TO POSTFIX EXPRESSION
• STACK APPLICATION : IN...
---------------------------------------------------------------------------------------------------------------
DATA STRUCTURES
• INTRODUCTION TO DATA S...
JAVA PROGRAMMING
• CORE JAVA TUTORIAL FOR...
COMPILER DESIGN
• INTRODUCTION TO COMPIL...
AUTOMATA THEORY || THEORY OF COMPUTATION
• INTRODUCTION TO AUTOMA...
R PROGRAMMING
studio.youtube...
HTML TUTORIALS WITH IMPLEMENTATION || LEARN HTML IN 4 HOURS
• HTML TUTORIALS WITH IM...
LEARN CSS IN 3 HOURS || CASCADING STYLE SHEETS FOR BEGINNERS
• LEARN CSS IN 3 HOURS |...
JAVA SCRIPT FOR BEGINNERS IN 7 HOURS || LEARN JAVA SCRIPT IN 7 HOURS || JAVA SCRIPT
• JAVA SCRIPT FOR BEGINN...
XML (eXtensible Markup Language)
• XML (eXtensible Markup...
OPERATING SYSTEM
• OPERATING SYSTEM
ETHICAL HACKING
• Video
VI EDITOR BASICS IN LINUX / UNIX || LEARN VI EDITOR COMMANDS || LINUX || UNIX
• VI EDITOR BASICS IN LI...
HOW TO DOWNLOAD & INSTALL MySQL IN WINDOWS 10
• HOW TO DOWNLOAD & INST...
DATABASE MANAGEMENT SYSTEM
• DATABASE MANAGEMENT SY...
PYTHON PROGRAMS
• PYTHON PROGRAMS
C PROGRAMMING
• 01 - VARIABLES & CONST...
CORE JAVA TUTORIAL FOR BEGINNERS || LEARN CORE JAVA IN 15 HOURS || JAVA TUTORIALS FOR BEGINNERS
• CORE JAVA TUTORIAL FOR...
PYTHON TUTORIALS FOR BEGINNERS (తెలుగు లో)
• Learn Python from Scra...
PYTHON OOPS - MODULES - EXCEPTION HANDLING (తెలుగు లో)
• PYTHON - OOPS CONCEPTS...
PYTHON NUMPY TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE NUMPY TUTORIALS IN TELUGU
• PYTHON NUMPY TUTORIAL ...
PYTHON PANDAS TUTORIAL IN TELUGU (తెలుగు లో) || COMPLETE PANDAS TUTORIALS IN TELUGU || DATA SCIENCE
• PYTHON PANDAS TUTORIAL...
MATPLOTLIB LIBRARY - PYTHON PROGRAMMING (ENGLISH)
• MATPLOTLIB LIBRARY - P...
PYTHON DATABASE CONNECTIVITY - MYSQL & MS-EXCEL
• PYTHON DATABASE CONNEC...
DATA STRUCTURES USING PYTHON (ENGLISH)
• DATA STRUCTURES USING ...
----------------------------------------------------------------------------------------------
Instagram : / sundeepsaradhikanthety
Thank You, I just passed an exam from algorytmics on Polytechnic in Poland. Your lessons Sir were helpful. I wish techears in Poland have so much talent to explain and knowledge.greetings
Sir your are genious
Thank you so much
Super explanation sir 👍👍👍👍👍
Awesome sir..helpfull 🙏🏻..the way you explain the topic ,that makes topic very easy 👍
Best explaination ♥️🙏🙏🙏🙏
awesome so informative class convincible explanation kudos to uuu
Thankyu sirrr✨ very good teaching 💫🥰
Great video. I like the examples you provided. I use similar examples in my class.
Hello sir..... Please make video playlist on Database management system....
And you are great guy.... Because whatever i learn about c language is only from you
Sir, your teaching path is marvelous. I like your video. Please suggest some good reference books for data structures in c for more practice.
Nice explanation sir
Great teaching sir👏
Huge Respect From KL UNIVERSITY
simple and on point . thank u very much
Hi Sir...need infix to prefix conversion aswell as need evaluation of prefix expression
Good explain sir
Superb
sir love you for your efforts
Thank u sir
I have no doubt
Sir you have less viewers my suggestion is make a video of a particular topic within 15mins if it needed more time you give description for the continuation
Sir plz post a video to conversion of infix to prefix
thank you so much sir.
Superrr
Nice sir
Sir edi 3rd topic..
2nd topic Conversion of Infix to prefix expression..
Please provide that video
if we have the best why we look at the rest thnku SSK
Super sir
Sir...if there is only one element present in the stack...how can we pop two elements from the stack..🤔
what if the character has 2 digits like number 10 but in scanning the characters it only takes single digits? Help sir.
two digits means 10 so it takes -> 1, 0
Sir is it right if division operation gives a decimal result ?
Character like alphabetical is not performed in postfix evaluation?
thanks
If we pop the to upper most top through a stack, then after we have to perform operation between the tops popped then
After POP of the two tops
Will any other memory allocate for these two tops for performing the operatin?
Hlo sir this is mukesh.why do we use postfix and prefix expressions sir ?
Sir what if the divisor is grater than dividend? in postfix expression..
Arun Joshi That is no problem. The operations are all on real numbers. Therefore, real number division will be used.
hi
no problem it will consider the integer result avoiding the decimals.you will get 0 as result.
Hope your doubt has been clarified.
How to know the 546 is to be put in stack as 5,4,6 and not 54,6 or 5,64 or 564 etc , postfix applicable only for one digit operand ?
in division operation if((2/4=2)(4/2=0.5))
In the second situation we have to write 0.5 or something else and my another question is how this (^) operate works?
Same doubt 🥲
sir cn i do like this in prefix also
Sir, where is Infix to prefix conversation???
Thanks sir
Hello sir, I need conversion of infix to prefix conversion
in evaluation of postfix expression what happens if only one operand is present before operator may I know the answer please...my direct question is that what will be the postfix evaluation of 8*-1
That isn't even a postfix expression.
what should we do if we get^ this sumbol???
Sir c++ programming radhu python Kuda radhu mere chepalli exam's dhagaralo unvi
Tq sir
if n operands are present in the expression then n-1 operators will be present
Sir give example on prefix
this will fail , the result will be different , say for example top element in the stack is 7 and next top is 3 , should we do 7-3 or 3-7. the results vary accordingly.
Sir apudapudu. Telugu lo chepandi sir
How to write program??
Prepost is remaining
sir code for it
Thank you so much sir.
Sir please post the video on infix to prefix expression
Thanks Sir