Miss any of our Open RFC calls?Watch the recordings here! »

bingen

1.0.0 • Public • Published

bingen

Binary search generator

var bingen = require('bingen');
 
bingy = new bingen(0, 100); /* provide inclusive range */
bingy.mid();
>> 50
bingy.next('left');
>> 25
bingy.next('right');
>> 37

Install

npm i bingen

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • avatar