Quick & Dirty Notes / Mini-Quiz: Stacks & Queues

Stacks & Queues are both?

What is the benefit of limiting the types of operations for Stacks and Queues?

Describe a Stack.

Where are Stacks used?

What are the bigO for Stack operations?

Describe a Queue.

What are Queues used for?

What are the bigO for Queue operations?

Why would we not want to use an array to implement a queue?

How would you implement a Stack class? What parameters/attributes would be instantiated within the constructor method?

What operations would be associated with the Stack class?

How would you implement a Queue? What are the parameters/attributes?

What are the operations for the Queue class?

What are Stacks + Queues good for?

--

--

--

Just another one of those dreamers with a sparkle in his eyes.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

PHP 7.x — P18: Increment and Decrement Operators

Getting Started with Post Processing in Unity

Go — Today’s headline architecture

Robust Engineering

FreeCourseSite — Download All Paid Courses For Free Now

Graph data analysis with Cypher and Spark SQL on Cloud Dataproc

Flux DAO. What awaits the participants?

Developer’s Annotation: Downtown Brooklyn Case Study

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Janu Sung

Janu Sung

Just another one of those dreamers with a sparkle in his eyes.

More from Medium

The Big O

Don’t be scared of the regex

Two bits on `this`

Title

Remove a node in Linked List without traversing it