8 marksAbstract Data Types (ADTs)
CAPE Computer Science Unit 2 · 2011 · Paper 2 · Question 1(b)
Write an algorithm to remove an element that is at the bottom of a stack, maintaining the relative positions of the remaining elements. (An appropriate auxiliary structure may be used.)
The mark scheme is shown once you've answered.
Practise this question