shellosort

0.0.3 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i shellosort

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • cryptix720