0.0.4 • Published 7 years ago
@jdiejim/sorting-suite v0.0.4
Sorting Suite
This JS library contains different implementations of sorting algorithms including:
- Quick Sort
- Merge Sort
- Insertion Sort
- Bubble Sort
Install
npm install
Guide
- sorting example:
import { quickSort } from '.@jdiejim/sorting-suite';
let numbers = [1, 5, 3, 2, 4];
quickSort(numbers); // -----> returns [1, 2, 3, 4, 5]