Tiny queue data structure

You should use this package instead of an array if you do a lot of Array#push() and Array#shift() on large arrays, since Array#shift() has linear time complexity O(n) while Queue#dequeue() has constant time complexity O(1). That makes a huge difference for large arrays.
Information
Category: JavaScript / Data Structure
Watchers: 2
Star: 62
Fork: 0
Last update: Nov 29, 2020

Related Repos



felipernb algorithms.js Atwood's Law applied to CS101. Classic algorithms and data structures implemented in JavaScript, you know... FOR SCIENCE. Installing npm
 

code-shoily ExAlgo ExAlgo is a collection of data structures and algorithms implemented in Elixir. This is the authors attempt to see algorithms through Elixir's
 

sampoder ib.js This JS library implements the data structures outlined in the IB Computer Science Pseudocode Guide exactly as they are. Use it to experiment wi
 

trekhleb JavaScript Algorithms and Data Structures This repository contains JavaScript based examples of many popular algorithms and data structures. Each algo
 

crisdosyago Computer Science Data Structures and Algorithms in JavaScript ( Node.JS, ES ) in simple, clean, reusable code
 

abdulrahmanAlotaibi Learn to build any SaaS product through devKamet, an interactive platform to learn the essentials of Computer Science, Data Structures, Algorithms, and Operating Systems using Golang ๐Ÿ‘ฉโ€๐Ÿš€
 

pbeshai Tidy up your data with JavaScript! Inspired by dplyr and the tidyverse, tidy.js attempts to bring the ergonomics of data manipulation from R to javascript (and typescript).
 

sindresorhus You should use this package instead of an array if you do a lot of Array#push() and Array#shift() on large arrays, since Array#shift() has linear time complexity O(n) while Queue#dequeue() has constant time complexity O(1). That makes a huge difference for large arrays.
 

bloodyowl A ReScript variant type to represent async data
 

excelbrium Algorithms & Data Structures Algorithms & Data Structures implemented in and explained with JavaScript. The idea originates from my Twitter series wit
 

xFAANG AskQL is a new query and programming language that can express any data request.
 

jeffzh4ng A collection of classical data structures and algorithms implemented in Typescript. Click the ๐Ÿ“น emoji for tutorials. View the entire series in order here.
 

no-stack-dub-sack CS-Playground-React: Algos & Data Structures An interactive overview of common sorting algorithms and data structures, implemented in JavaScript, with optional "challenge mode" (get your code to pass all the tests!). This als
 

roman01la Data Structures Memory Usage in JavaScript Comparison chart JavaScript ImmutableJS ClojureScript Kotlin GopherJS (Go) RacketScript Reason (BuckleScript) Elm ElixirScript F# (Fable) PureScript Dart Scal
 

nickjohnson-dev treecko A collection of functional and immutable helpers for working with tree data structures. Both Trees : Object and Tree Lists : Array<Object> are supported. Curried for easy partial application.