EASY2021GATE-CSData Structures
data-structuresstacks1-mark
Correct Answer: 86
Explanation:
Loading...
Correct Answer: 86
Explanation:
Take your GATE-CS preparation to the next level. Practice with full-length mock tests, get instant results, and track your progress with detailed analytics.
Browse GATE-CS Test SeriesConsider a stack S and a queue Q. Both initially empty with capacity 10. Elements 1, 2, 3, 4, 5 arri…
We wish to augment a stack with an O(1) MIN operation (returns pointer to min-key record, no deletio…
S1 has capacity 4, already has elements 100 (bottom), 200, 300, 400 (top). S2 has capacity 2 and is …
Sequence a: a0=1, a1=5, a2=7, a3=8, a4=9, a5=2. Operations on stack S and queue Q (both initially em…