array-push-at-sort-position
Push items to an array at their correct sort-position
Push items to an array at their correct sort-position
Binary search
🚅 Find the closest or exact value using binary search
A solution for finding words started by a string. It works well on both front-end and back-end.
Some random useful functions and classes
This is a really tiny, curryed, simple binary search library for Node.JS
Binary search in JavaScript
Practicing creating packages while going through algo class. This one mostly does binary search.
A small strongly typed pure function utility library
DSA with Callback.
Binary search is a searching algorithm that works on sorted data. Binary searches check the middle value to see whether the desired value is greater or smaller than it. If the desired value is smaller, this algorithm can search the smaller parts, or it ca
Algorithms
Efficient data structures for every day programming
very simple number based binary search
JavaScript binary search implementation.
Performs a binary search by iterable or callback
Santi's Bisect Library: Binary search in a lightweight package.
How to use it const binarysearch =require("mybinarysearch"); const index=binarysearch(arr,target);
Number manipulation and math functions.
Search fast in a Sorted Array