binary-merge

0.0.0 • Public • Published

binary-merge

Merges a pair of sorted arrays.

Use

First install via npm:

npm install binary-merge

Then you can use the algorithm as follows:

var merge = require("binary-merge")
 
 
console.log(merge([1,3,7], [2,4,6]))
 
// Prints:
//
//    1,2,3,4,6,7
//

Credits

(c) 2013 Mikola Lysenko. MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i binary-merge

Weekly Downloads

179

Version

0.0.0

License

MIT

Last publish

Collaborators

  • mikolalysenko