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

How to mock S3 services in Python tests

Here’s What Every Programmer Needs to Know About Becoming a Senior Developer

Thoughtful senior software engineer looking at his laptop

How to Use Embedding to Write Cleaner Code in Go?

Testing Anthos Baremetal in GCE [Part1]

I choose Flutter ! Why ? How to install ?

Database related job roles

RIPA GitHub Development Bounty Program

How to write containerised API using Node.js, MongoDB and Docker — Part 3

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

Big O notation (using javascript)

Binary Search Algorithm Contains a bug

7. Connecting the dots — Big O and Hash Table Data Structure

String Compression