Stacks & Queues

Stacks

A stack is a list of elements in which an elements may be inserted or deleted only at one end called the Top of the stack.

Push
Insert elements into stack
Delete elements from stack
Pop

Queues

A Queue is a linear list of elements in which deletions can take place only at one end called front and insertions can take place only at the other end called the rear.