Search results
28 packages found
🚅 Find the closest or exact value using binary search
Efficient data structures for every day programming
- graph
- heap
- linked list
- max heap
- max stack
- min heap
- min stack
- quick stack
- priority queue
- queue
- stack
- trie
- binary-search
Push items to an array at their correct sort-position
This consists of variations of several binary search functions used
Provides efficient, pure JavaScript binary search functionality for sorted arrays, includes methods: findLast, findLastLess, findLastLessOrEqual, findFirst, findFirstGreater, findFirstGreaterOrEqual
- binary
- search
- binary-search
- contains
- findFirst
- findFirstGreater
- findFirstGreaterOrEqual
- findLast
- findLastLess
- findLastLessOrEqual
This npm package provides a binary search function for searching elements in a sorted array.
This npm package provides a binary search function for searching elements in a sorted array.
[![npm version](https://img.shields.io/npm/v/your-package-name.svg)](https://www.npmjs.com/package/your-package-name) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/your-username/your-package-name/blob/master/LICENSE)
Its a function that searches an element in an array using binary serach
JavaScript binary search implementation.
This is a Binary Search in nodejs package
How to use it const binarysearch =require("mybinarysearch"); const index=binarysearch(arr,target);
Santi's Bisect Library: Binary search in a lightweight package.
Various algorithms and math utilities.
- javascript
- int
- uint
- byte
- number
- math
- bitwise
- lerp
- spline
- cspline
- cubic-spline
- interpolation
- binary-search
- sort
- View more
very simple number based binary search
Algorithms
- algorithms
- binary-search
- bubble-sort
- selection-sort
- insertion-sort
- merge-sort
- quick-sort
- radix-sort
- frontend
- front-end
- backend
- back-end
- web
- browser
- View more
Performs a binary search by iterable or callback
Search fast in a Sorted Array
This is a really tiny, curryed, simple binary search library for Node.JS