Skip to content

tadeuzagallo/shell-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

CommonJS shell sort implementation using Sedgewick's gap sequence

Resources

Stars

Watchers

Forks

Packages

No packages published