ISC · Computer Science · Stacks
Practice question
3 marksOriginal Khojo Papers practice question written to the ISC Computer Science syllabus — not from a past board or specimen paper.
A stack of capacity 5 is empty. After push(1), push(2), push(3), pop(), push(4), pop(), pop(), what is left on the stack?

