Skip to content

Basic implementation of binary search using a sorted array.

Notifications You must be signed in to change notification settings

alkuhar/bin-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

binary-find

Basic implementation of binary search using a sorted array.

Example

var bf = require('bin-find');

bf([1, 2, 3, 4, 5], 3); // 2

bf([1, 2, 3, 4, 5], 5); // 4

About

Basic implementation of binary search using a sorted array.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published