binary-merge
2-way merge
Last updated 14 years ago by mikolalysenko .
MIT · Repository · Original npm · Tarball · package.json
$ npm install binary-merge 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.0                                ...           latest (14 years ago)

1 Versions

  • 0.0.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 4
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE