A TypeScript QuickSort implementation.
ℹ️ This is a pure ESM module.
import quickSort from 'quick-sort';
const unsortedArray = [15, 13, 1, 22];
const sortedArray = quickSort.sort(unsortedArray);
// sortedArray === [1, 13, 15, 22]
yarn
yarn test
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
A TypeScript QuickSort implementation.
ℹ️ This is a pure ESM module.
import quickSort from 'quick-sort';
const unsortedArray = [15, 13, 1, 22];
const sortedArray = quickSort.sort(unsortedArray);
// sortedArray === [1, 13, 15, 22]
yarn
yarn test