Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Data Structures Tutorial
→
Data Structures Interview Questions in Data Structures Tutorial
→
State The Rules To Be Followed During Infix To Pr...
1.
State The Rules To Be Followed During Infix To Prefix Conversions?
Answer»
Fully parenthesize the
EXPRESSION
starting from left to right. During parenthesizing, the
OPERATORS
having
HIGHER
precedence are first parenthesized.
Move the operators one by one to their left, such that each operator replaces their corresponding left parenthesis.
The part of the expression, which has been
CONVERTED
into
PREFIX
is to be treated as single operand.
Once the expression is converted into prefix form, remove all parenthesis.
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Difference Between Abstract Data Type, Data Type And Data Structure?
Define Data Type And What Are The Types Of Data Type?
Define An Abstract Data Type (adt)?
What Are The Advantages Of Modularity?
State The Difference Between Primitive And Non-primitive Data Types?
State The Difference Between Persistent And Ephemeral Data Structure?
What Are The Objectives Of Studying Data Structures?
What Are The Types Of Queues?
List The Applications Of Stacks?
List The Applications Of Queues?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies