1.1.1 • Published 10 years ago

quicksort v1.1.1

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

#quicksort

implementation of the quicksort algorithm in js

var qs = require('quicksort');
qs.quicksort([5, 3, 7, 5, 1], 0, 4, function (result) {
  console.log(result);
});
// -> [ 1, 3, 5, 5, 7 ]

if you want it sync:

var qs = require('quicksort');
console.log(qs.quicksortSync([5, 3, 7, 5, 1], 0, 4));
// -> [ 1, 3, 5, 5, 7 ]
1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago