Options
All
  • Public
  • Public/Protected
  • All
Menu

Module 4. Stack

Stack is an abstract list of entities which follows Last-In-First-Out data structure or LIFO It comes from the analogy of physical items stacked on top of each other.

Operations

  • push - Add item to the stack
  • pop - Remove item from the stack
  • peak - Get the top item without altering the stack

Stack

Files: Stack | Test

YouTube

Classes