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
What is heap tree?
What is binary tree in computer science?
What is the easiest sorting method to use in data structures?
Can arraylist contain null?
What do you mean by data and data structure?
What is array and structure?
You want to insert a new item in a binary search tree. How would you do it?
Why do we study data structures?
Can we remove element from arraylist while iterating?
Why do we need a data structure?
What sorting algorithm does arrays sort use?
Will this code give error if I try to add two heterogeneous elements in the arraylist? And why?
What is mean by sorting?
Differentiate between push and pop?
What is a dequeue?