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
Tell me do array subscripts always start with zero?
How do you rotate an AVL tree?
Explain linked list in short.
Can treemap key null?
What is data structure what is need of it?
What is the function of stack?
How do you find the complexity of a bubble sort?
What are the tasks performed during preorder traversal?
Is tuple immutable?
What is arraylist load factor?
Can you please explain the difference between array_name and &array_name?
Does hashset allow duplicates?
Why do we use linked lists?
How do you find the number of comparisons in bubble sort?
What is the use of bubble sort?