All mock tests are FREE till 31 December — register to save your progress
Unit 7 · Data Structures and Algorithms Paper 2 CS · November 2021

The reverse Polish notation of the infix expression [A * {B + C * (D + E)}] / {F * (G + H)} is

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. ABCDE + * + * FGH + * /

Explanation

D + E → DE+; C*(…) → CDE+*; B + … → BCDE+*+; A*… → ABCDE+*+*. Denominator FGH+*. Then divide: ABCDE+*+*FGH+*/.

More Data Structures and Algorithms questions