@allalgorithms/mergesort
v1.0.0
Published
Merge Sort algorithm from The All ▲lgorithm Project
Maintainers
Readme
Install
npm install @allalgorithms/mergesortUsage Example
const mergeSort = require('@allalgorithms/mergesort');
arr = [77, 2, 10, -2, 1, 7]
console.log(mergeSort(arr));
// -> [-2, 1, 2, 7, 10, 77]Related
- allalgorithms-js: All ▲lgorithms Javscript library
- allalgorithms-python: All ▲lgorithms Python library
- allalgorithms-java: All ▲lgorithms Java library
Maintainers
||
| :--------------------------: |
| Carlos Abraham |
License
MIT License © Carlos Abraham
