Queues

Queues

Stateful Queues

By limiting how their data can be accessed, each queue type supports different algorithmic use cases.

Sometimes the power of a data structure comes not what it empowers you to do, but what it prevents you from doing to yourself.

First In First Out

Last In First Out

Double Ended