You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers stacks — an essential abstract data type (ADT) in the OCR A-Level Computer Science (H446) specification. Stacks are used extensively in computing, from function call management to expression evaluation.
A stack is a linear data structure that follows the LIFO (Last In, First Out) principle. The last item added to the stack is the first item to be removed — like a stack of plates.
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.