Convert following infix expression to the prefix expression.
a - b + c * (d / e - (f + g))

Answer Posted / bipin fro uu mca

a-b+c*(/de-(+fg))
a-b+c*(-/de+fg)
a-b+*c-/de+fg
-ab+*c-/de+fg
+-ab*c-/de+fg

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Will hashmap allow null keys?

506


What are the best data structure courses for gate preparation?

498


How do you sort elements in an arraylist?

470


Why do we need sorting algorithms?

505


How to excel in data structures and algorithms?

535






which is the simplest file structure? (Sequential, indexed, random)

787


What is the difference between classifying and sorting?

505


How do you implement a stack?

481


What are dynamic data structures?

655


What is hash value of a string?

474


Why is selection sort used?

495


What are the applications of priority queues?

524


What is sequential search?

542


What is data structure? Explain.

537


What can be stored in an arraylist?

478