Convert the following infix expression to post fix notation
((a+2)*(b+4)) -1

Answer Posted / pavan

@ Revathy :
Postfix : AB+DC-*
Prefix : *+AB-DC

Best way to find Prefix adn post fix is to create a Binary
tree and do a pre-order traversal and post order traversal
on it.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the topics in data structures?

502


Are linked lists considered linear or non-linear data structures?

568


What is data type and its types?

525


Will arraylist maintain insertion order?

497


What is data structure? Explain.

533






What do you mean by union-by-weight?

571


What is the types of data structure?

477


How do you empty an arraylist?

497


What do you mean by disjoint set adt?

543


Is boolean a data type?

445


Which sorting has less time complexity?

500


How many types of arrays are there in visual basic?

448


What are common data structures?

585


Which is the simplest file structure? (a) Sequential (b) Indexed (c) Random (a) Sequential

695


What is data structure and why we need them?

463