shell-sort

1.0.0 • Public • Published

Shell sort

CommonJS shell sort implementation using Sedgewick's gap sequence

Usage

var shellSort = require('shell-sort');
 
// Signature
 
shellSort(array [, compareFunction] [, reverse]);
 
// Possible usages
 
shellSort(array);
shellSort(array, compareFunction);
shellSort(array, compareFunction, true);
shellSort(array, undefined, true);
 

/shell-sort/

    Package Sidebar

    Install

    npm i shell-sort

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • tadeuzagallo