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

https://github.com/c1m50c/rust-algorithms

Library containing various algorithms implemented with a Rust counter-part.
https://github.com/c1m50c/rust-algorithms

algorithms binary-search bubble-sort comb-sort gnome-sort hashing-algorithms heap-sort insertion-sort library linear-search merge-sort mit-license quick-sort rust searching-algorithms selection-sort sha256 shell-sort sorting-algorithms

Last synced: 4 months ago
JSON representation

Library containing various algorithms implemented with a Rust counter-part.

Awesome Lists containing this project

README

        

# **📚 rust-algorithms**
[![Build](https://github.com/c1m50c/rust-algorithms/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/c1m50c/rust-algorithms/actions/workflows/build.yml)

Library containing various algorithms implemented with a Rust counter-part.

## **Running**
You can test the algorithms to ensure they work by using `cargo test`, an example of it's usage is shown below.
```bash
$ cd rust-algorithms # Change directory to repository.
$ cargo test # Run the `cargo test` command to run the library's tests.
...
test result: ok. # If things go well all tests should pass.
```

## **Implemented Algorithms**

🥔 Hashing Algorithms


  • ❌ SHA256

🔎 Searching Algorithms


  • ✔ Linear Search

  • ✔ Binary Search

🧮 Sorting Algorithms


  • ✔ Selection Sort

  • ✔ Insertion Sort

  • ✔ Bubble Sort

  • ✔ Gnome Sort

  • ✔ Quick Sort

  • ✔ Merge Sort

  • ✔ Shell Sort

  • ✔ Heap Sort

  • ✔ Comb Sort

## **License**
MIT License