Skip to content

Course home

x
Stacks
x

What a stack is

What a stack is

Array-based stack with items A, B, C, a topPointer arrow, and examples of push, pop, peek, empty and full conditions

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.

Stacks Lesson

  1. A Level
  2. /Computer Science
  3. /Stacks

Step-by-step lessons on AQA A Level Computer Science Stacks. Each one builds up to exam-style questions.

Lessons