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
[![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)
Various algorithms and math utilities.
This consists of variations of several binary search functions used
This is a Binary Search in nodejs package
Provides efficient, pure JavaScript binary search functionality for sorted arrays, includes methods: findLast, findLastLess, findLastLessOrEqual, findFirst, findFirstGreater, findFirstGreaterOrEqual
A simple binary search I made as a snippet for leetcode tasks
How to use it const binarysearch =require("mybinarysearch"); const index=binarysearch(arr,target);
Number manipulation and math functions.