Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abranhe/allalgorithms-mergesort
Merge Sort Algorithm for the All ▲lgorithms Project
https://github.com/abranhe/allalgorithms-mergesort
algorithms allalgorithms merge-sort mergesort sorting-algorithms
Last synced: 26 days ago
JSON representation
Merge Sort Algorithm for the All ▲lgorithms Project
- Host: GitHub
- URL: https://github.com/abranhe/allalgorithms-mergesort
- Owner: abranhe
- License: mit
- Created: 2018-10-29T05:26:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T05:38:51.000Z (about 6 years ago)
- Last Synced: 2024-10-05T09:18:55.860Z (about 1 month ago)
- Topics: algorithms, allalgorithms, merge-sort, mergesort, sorting-algorithms
- Language: JavaScript
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
Merge Sort Algorithm for the All ▲lgorithms Project
## Install
```
npm install @allalgorithms/mergesort
```## Usage Example
```js
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](https://github.com/abranhe/allalgorithms-js): All ▲lgorithms Javscript library
- [allalgorithms-python](https://github.com/abranhe/allalgorithms-python): All ▲lgorithms Python library
- [allalgorithms-java](https://github.com/abranhe/allalgorithms-java): All ▲lgorithms Java library# Maintainers
|[![Carlos Abraham Logo][3]][4]|
| :--------------------------: |
| [Carlos Abraham][4] |# License
[MIT][5] License © [Carlos Abraham][4]
[1]: https://cdn.abranhe.com/projects/algorithms/badge.svg
[2]: https://github.com/abranhe/allalgorithms-mergesort
[3]: https://avatars3.githubusercontent.com/u/21347264?s=50
[4]: https://github.com/abranhe
[5]: https://github.com/abranhe/allalgorithms-mergesort/blob/master/license