Consider the following sequence of operations on an empty stack.
push(54); push(52); pop(); push(55); push(62); s = pop();
Consider the following sequence of operations on an empty queue.
enqueue (21); enqueue (24); dequeue (); enqueue (28); enqueue (32); q = dequeue();
The value of s +q is _______.
2021 SET 1 || NAT || 1-mark
86
This question is part of this quiz :
GATE|| C Programming & Data Structure || Pyqs (2010 to 2025 ),GATE || Arrays | Stacks | Queue | Linked list || PYQS (2010 to 2025)