Convert following infix expression to the prefix expression.
a - b + c * (d / e - (f + g))
Answer Posted / amit patra
=a-b+c*(d/e-(+fg)
=a-b+c*(/de-(+fg)
=a-b+c*(-/de+fg)
=a-b+c*-de+fg
=-ab+c*-de+fg
=*-+abcde+fg
| Is This Answer Correct ? | 1 Yes | 13 No |
Post New Answer View All Answers
Define general trees?
Give a real time example of stack
Define hash table?
Define an abstract data type (adt)?
Is list a data type?
Explain quick sort?
Do you know what is linear search?
Which interfaces are implemented by abstractsequentiallist?
What is stack and its operations?
How do you rotate an AVL tree?
Can a hashset contain duplicates?
What are the types of queues?
What is heap tree explain with example?
What is a list in data structure?
Explain binary search tree?