Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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