0.0.3 • Published 6 years ago

shellosort v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

ShellOsort

npm version

GitHub license

ShellOsort uses the cuts 1, 1, 3, 12, 64, 405, 3312, 44370, 2209839, 623492664 and insertion sort to sort sub-arrays which match for the different cuts..

Installation

npm install shellosort --save

Usage

     
      var sort = require('index').shellosort;

     console.log(sort([25, 55, 13, 0, 43])); // [ 0, 13, 25, 43, 55 ]

License

MIT