CodeBrowser / npm / double-ended-queue
double-ended-queue@2.1.0-0
// Extremely fast double-ended queue implementation
$ npm install double-ended-queue
downloads/wk
715,141
license
MIT
version
2.1.0-0
published
Jan 5, 2015
What is double-ended-queue?
A double-ended queue (deque) is a data structure that allows efficient insertion and removal of elements from both ends. This npm package provides a high-performance implementation useful when you need queue-like behavior with the flexibility to add or remove items from either the front or back. Developers use it for tasks like managing task queues, implementing breadth-first search algorithms, or any scenario requiring fast operations on both ends of a sequence.
Keywords
#data-structure #data-structures #queue #deque #double-ended-queue
Maintainers
esailija