Skip to main content

One doc tagged with "stacks"

View All Tags

Stacks

A stack is as the name says like a stack of paper. Meaning it follows the LIFO policy (last in first out). The most common operations on queues are: