- Describe what a stack is
- Define methods on a stack
- Implement
pushmethod on a stack - Describe what a queue is
- Define methods on a queue
- Implement
enqueuemethod on a queue
Turn to your neighbor and explain what a stack is.
- What are some real-world problems that use a stack?
- How does a stack differ from a linked-list?
What actions/methods can you perform on a stack?
https://learn.galvanize.com/cohorts/231/units/6047/content_files/78631
Turn to your neighbor and explain what a queue is.
- What are some real-world problems that use a queue?
What actions/methods can you perform on a queue?
https://learn.galvanize.com/cohorts/231/units/6047/content_files/78631