-->

Stacks & Queues In List

Question
CBSEENCO12011641

Evaluate the following postfix notation of expression. Show status of the stack after every operation.
22,11,/,14,10,,+,5,2

Solution
Element Stack
22 22
11 22, 11
/ 2
14 2,14
10 2,14,10
- 2,4
+ 6
5 6,5
- 1