Infix, postfix expression - Data Structure

Q.  Data Structure: What is the infix version of the following postfix expression?

x 12 + z 17 y + 42 * / +

- Published on 19 Oct 15

a. x + 12 + z / 17 + y * 42
b. x + 12 + z / ((17 + y) * 42)
c. (x + 12 + z) / (17 + y * 42)
d. None of the above.

ANSWER: x + 12 + z / ((17 + y) * 42)
 

    Discussion

  • Chitaranjan Kumar    -Posted on 06 Apr 20
    please send me solve the step by step this equation:
    " x 12 + z 17 y + 42 * / + " in prefix , infix and in a tree .
  • mayank   -Posted on 12 Apr 17
    please send me solve the step by step this equation:
    " x 12 + z 17 y + 42 * / + " in prefix , infix and in a tree .

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)