Search results
10 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Collection of cross-platform routines to operate effectively sorted arrays. For that ArraySorted provides customizable quicksort algorithm and a dozen functions to optimally find/add/remove single/multiple elements into a sorted array, add/remove sorted a
Binary search insert values into sorted arrays with comparator functions
Ordered collections — SortedArray, SortedMap, and SortedSet
- sorted
- collection
- ordered
- datastructure
- data-structure
- data structure
- array
- map
- set
- sorted array
- sorted map
- sorted set
- ordered array
- ordered map
An array that keeps its elements in order
Various data structures for JavaScript - implemented in TypeScript.
Insert a value together with a factor into the array. And the array will be kept sorted based on factors.
Broad coverage of sorted array operations
- sorted array
- operations
- commonjs
- ES module
- insert
- remove
- union
- intersection
- difference
- symmetric difference
- inplace merge
- includes
- binary search
- lower bound
- View more
Implementation of useful data-structures in vanilla JavaScript. Linked list, stack, queue, sorted array and type safe extensions for these collections, plus array and set.
Advanced binary search implementation with additional features
A simple and efficient utility for performing binary search on sorted arrays in Node.js applications.