Understanding Stacks
In computer science, a stack is what you think it is. A pile. There are two important restrictions:
Only add to the top
Only remove from the top
To illustrate, let’s track how we get dressed using a stack. At first, the stack is empty. Let’s add ...
brettrowberry.com1 min read