Search results

10 packages found

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

published version 0.3.361, 3 years ago0 dependents licensed under $MIT
7,836

Binary search insert values into sorted arrays with comparator functions

published version 1.0.3, 10 years ago13 dependents licensed under $MIT
4,463

Ordered collections — SortedArray, SortedMap, and SortedSet

published version 0.4.0, 13 days ago0 dependents licensed under $MIT
97

An array that keeps its elements in order

published version 1.2.0, 4 years ago0 dependents licensed under $MIT
24

Various data structures for JavaScript - implemented in TypeScript.

published version 0.0.6, 7 years ago1 dependents licensed under $Apache-2.0
19

Insert a value together with a factor into the array. And the array will be kept sorted based on factors.

published version 1.0.2, a year ago0 dependents licensed under $BSD-3-Clause
17

Broad coverage of sorted array operations

published version 1.0.0, 4 years ago0 dependents licensed under $Apache-2.0
14

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.

published version 1.1.2, 5 years ago0 dependents licensed under $ISC
13

Advanced binary search implementation with additional features

published version 1.0.0, 2 months ago0 dependents licensed under $MIT
11

A simple and efficient utility for performing binary search on sorted arrays in Node.js applications.

published version 1.0.1, a year ago0 dependents licensed under $ISC
7