ts-sorting-algorithms
v2.0.0
Published
``` yarn add ts-sorting-algorithms ```
Downloads
4
Readme
Installation
yarn add ts-sorting-algorithms
Usage
import { Merge } from "ts-sorting-algorithms";
console.log(Merge.sort([1, 4, 2, 3, 10]));
// [1,2,3,4,10]
You can use
- Selection
- Insertion
- Merge
- Quick
- Bubble (sort, optimizedSort)