Arrays
October 16, 2023GATE 2003
October 16, 2023Data-Structures
Question 45 |
To evaluate an expression without any embedded function calls
One stack is enough | |
Two stacks are needed | |
As many stacks as the height of the expression tree are needed | |
A Turning machine is needed in the general case |
Question 45 Explanation:
To evaluate an expression or converting prefix to postfix, postfix to prefix only one stack is enough.
Correct Answer: A
Question 45 Explanation:
To evaluate an expression or converting prefix to postfix, postfix to prefix only one stack is enough.
Subscribe
Login
0 Comments