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

What is list data structure?

0 Answers  


How do you assign an address to an element of a pointer array ?

0 Answers  


How to print element of Array?

0 Answers  


Which sorting technique is faster?

0 Answers  


What are the properties of binary heap?

0 Answers  






I am given a sequential algorithm that does a routine search on an unordered list. N = 20. The probability that the value x does NOT appear in the list is exactly 60%, and the probability that x DOES appear is 40%. The 3 questions that I could not get were: A) What is the avg number of element comparisons performed when n = 20 and x does NOT appear in the List. (my answer was 20, is this correct?) B) What is the avg number of element comparisons peformed when n = 20 and x DOES appear in the list? C) What is the avg number of element comparisons performed when n = 20. This should be a single number answer they said.

3 Answers  


Write the stack overflow condition.

0 Answers  


How efficient is bubble sort?

0 Answers  


Write programs for Bubble Sort, Quick sort

15 Answers   Cognizant,


Does arraylist contain duplicates?

0 Answers  


What do you mean by free pool?

0 Answers  


How do you sort a map by key?

0 Answers  


Categories