What a stack is
What a stack is

A stack is a data structure where items are added and removed from the same end, called the top. It follows last in, first out, or LIFO, so the most recently added item is the first one removed.
Step-by-step lessons covering AQA A Level Computer Science Stacks for A Level Computer Science. Each lesson works through exam-style questions.