DSA/algorithms/Rust/sorting/merge-sort
Akshat Adsule cdd7b26e5e
chore(Rust): add merge sort (#403)
* Add merge sort algorithm

* add rust files to gitignore

* Revert "add rust files to gitignore"

This reverts commit d6a1ab819b.

* Move gitignore to cargo project

* create readme for merge sort

* add merge sort
2021-07-30 22:17:13 -04:00
..
src chore(Rust): add merge sort (#403) 2021-07-30 22:17:13 -04:00
.gitignore chore(Rust): add merge sort (#403) 2021-07-30 22:17:13 -04:00
Cargo.toml chore(Rust): add merge sort (#403) 2021-07-30 22:17:13 -04:00
README.md chore(Rust): add merge sort (#403) 2021-07-30 22:17:13 -04:00

README.md

This sorts an array using Merge Sort. The sort is generic and will work with with any Vec whose items have the std::cmp::Ord and Copy traits. More information about Merge Sort can be found here

Prerequisites

Instructions for running the project

  • Open a terminal/powershell window in the folder/directory.

  • Run the following command

    cargo run --release