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

Answers were Sorted based on User's Feedback



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

Answer / uma

a2+b4+*1-

Is This Answer Correct ?    100 Yes 8 No

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

Answer / ahan

( ( a + 2 ) * ( b + 4 ) ) - 1
\ / /
a2+ b4+ /
\ / /
/
a2+b4+* /
\ /
a2+b4+*1-

Is This Answer Correct ?    57 Yes 2 No

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

Answer / arun chowdary g

a2+b4+*1- is correct because in postfix traversals are from
left, right and then root.

Is This Answer Correct ?    37 Yes 4 No

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

Answer / a khan

a2+b4+*1-

Is This Answer Correct ?    24 Yes 4 No

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

Answer / nips aka suman

a2+b4+*1-

Is This Answer Correct ?    20 Yes 2 No

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

Answer / 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

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

Answer / ankita

a2+b4+*1-

Is This Answer Correct ?    8 Yes 2 No

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

Answer / revathy

Convert the following expression to postfix and prefix
(A+B) * (D-C)

Is This Answer Correct ?    5 Yes 5 No

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

Answer / kiran reddy

-(*(+(a2)+(b4)))1

Is This Answer Correct ?    18 Yes 49 No

Post New Answer

More Data Structures Interview Questions

Which is better hashmap or hashtable?

0 Answers  


What are linked lists used for?

0 Answers  


Explain the common uses of threaded binary tree.

0 Answers  


What is 2 dimensional linked list?

0 Answers   Tech Mahindra,


Mention the data structures which are used in graph implementation.

0 Answers  






Define linear data structures?

0 Answers  


How many types of data structures are used?

0 Answers  


What do you mean by hash function?

0 Answers  


Explain different methods in which you can traverse a tree?

0 Answers   NIIT,


Describe stack operation.

0 Answers  


Give a real time example of stack

0 Answers  


What are the properties of binary heap?

0 Answers  


Categories