1.0.0 • Published 9 years ago

shell-sort v1.0.0

Weekly downloads
2
License
MIT
Repository
-
Last release
9 years ago

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);
1.0.0

9 years ago