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
Is linked list faster than array?
What is ordered map?
Why do we use trees in data structures?
Is hashmap a data structure?
Define a right-skewed binary tree?
Which sorting has less time complexity?
Describe the degree term in a tree.
What is impact of signed numbers on the memory using data structures?
What thread means?
Explain how is linked list implemented?
What is a matrix? Explain its uses with an example
What is arrays copyof?
Write an algorithm to show the reverse of link list?
Which interfaces are implemented by concurrentskiplistset?
What is an example of an array?