Quicksort algorithm Sort a number array with quicksort algorithm
Install: const quicksorta = require("quicksorta");
Examples
let sortarr = quicksorta([5,4, 6, 7, 1, -12]);
console.log(sortarr);
output: [ -12, 1, 4, 5, 6, 7 ]
Quicksort algorithm Sort a number array with quicksort algorithm
Install: const quicksorta = require("quicksorta");
Examples
let sortarr = quicksorta([5,4, 6, 7, 1, -12]);
console.log(sortarr);
output: [ -12, 1, 4, 5, 6, 7 ]
npm i quicksorta
0
1.0.0
ISC
1.53 kB
3