@codinasion/quick-sort
v1.0.2
Published
Typescript implementation of quick sort algorithm
Downloads
2
Maintainers
Readme
@codinasion/quick-sort
Typescript implementation of quick sort algorithm.
Installation
# if you're using pnpm
pnpm add @codinasion/quick-sort
# or, if you're using npm
npm install @codinasion/quick-sort
# or, if you're using yarn
yarn add @codinasion/quick-sort
Usage
import { QuickSort } from "@codinasion/quick-sort";
const arr = [1, 4, 7, 2, 5, 8, 3, 6, 9];
const sortedArr = QuickSort(arr);
console.log(sortedArr); // [1, 2, 3, 4, 5, 6, 7, 8, 9]