Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Stack

Stack is a particular kind of Abstract Data Type in which the main operations on the collection are the addition of an item to the collection, known as push, only to the top of the stack and removal of an item, known as pop, only from the top of the stack.

It's work is based on the LIFO method (last-IN-first-OUT).

Stack has a few popular textbook applications, e.g.:

  • Bracket Matching,
  • Postfix Calculator,
  • A few other interesting applications that are not shown for pedagogical purposes.

Visualizations of stack

visual-algo-stacks