Package Exports
- sort-types
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sort-types) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Types of sorts
Different types of sorts with their complexity and best/worst case scenarios.
Explains the following types of sorts -
* bubbleSort
* selectionSort
* insertionSort
* mergeSort
* quickSortInstall
npm install 'sort-types';If you want to play around, you may use the functions like this -
import { bubbleSort } from 'sort-types';
bubbleSort([3,1,8,4,2]);