Professional Documents
Culture Documents
Stacks - Lesson
Stacks - Lesson
https://www.crazygames.com/game/stack-online
Stacks
Dynamic Data Structure
LIFO (Last in First Out) - the last element
to be “pushed” (inserted) into the stack
is the first to be removed (“popped”)
Used to keep track of function calls.
Stacks
Dynamic Data Structure
LIFO (Last in First Out) - the last element
to be “pushed” (inserted) into the stack
is the first to be removed (“popped”)
Used to keep track of function calls.
Stacks - Basic Tasks