GATE CS 2002 · Arrays & Matrix Representation
MCQ · 1 mark · Problem PROG-DSTR-0245
To evaluate an expression without any embedded function calls
- A
One stack is enough
- B
Two stack are needed
- C
As many stacks as the height of the expression tree are needed
- D
A Turning machine is needed in the general case
Solve it on GATE DA practice →More Basic Data Structures problems
Show the worked solution
Official GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow:
https://gateoverflow.in/849/gate2002-2-19
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com