Convert following infix expression to the prefix expression.
a - b + c * (d / e - (f + g))
Answer Posted / p.divya poojitha
a-b+c*(/de-(+fg))
a-b+c*(t-s) if t=/de;s=+fg
a-b+c*(-ts)
-ab+*c-ts
+-ab*c-ts
sol is +-ab*c-/de+fg
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
write a program to show the insertion and deletion of an element in an array using the position
What is a list of lists?
What is the Role of push() and pop() method?
What is the two-dimensional array?
Do you know what is linear search?
what is Linked lists?
Define depth and height of a node?
What are the disadvantages of using collection classes over arrays?
What do you mean by data and data structure?
How does bogo sort work?
Describe the level term in a tree.
What is harvesting in agriculture?
If you have to store one lakh objects, what will be a better option- a hash map or an array list?
Explain set interface?
Can you change size of array once created?