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 space complexity of a program?
Which is better selection or bubble sort?
In what areas do data structures applied?
Define separate chaining?
When is a binary search algorithm best applied?
Why do we use linked lists?
How to find the duplicate in an array?
What do you mean by priority queue?
Is stack a dynamic data structure?
Write the importance of hashing?
Write the c program to insert a node in circular singly list at the beginning.
Which sorting is best for large data?
What is the Difference between sax and dom parser?
How do you insert a new item in a binary search tree?
Which collection allows null values?