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

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

common data structures and algorithms are implemented using rust.
https://github.com/acodercat/rust-algorithms

Last synced: about 1 year ago
JSON representation

common data structures and algorithms are implemented using rust.

Awesome Lists containing this project

README

          

# Rust Algorithms
[![Build Status](https://travis-ci.org/acodercat/rust-algorithms.svg?branch=master)](https://travis-ci.org/acodercat/rust-algorithms)
[![MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://github.com/acodercat/rust-algorithms/blob/master/LICENSE)

Common data structures and algorithms are implemented using Rust.

See the [examples](https://github.com/acodercat/rust-algorithms/blob/master/examples) directory for more algorithm examples.

## Algorithms

* [BinaryHeap](https://github.com/acodercat/rust-algorithms/blob/master/src/binary_heap.rs)
* [UnionFind](https://github.com/acodercat/rust-algorithms/blob/master/src/union_find.rs)
* [BinarySearchTree](https://github.com/acodercat/rust-algorithms/blob/master/src/binary_search_tree.rs)

## Run Example

```bash
$ cargo run --example exampleName
```
Just like this:
```bash
$ cargo run --example binary_heap
```

## Test

```bash
$ cargo test
```

## License

[MIT](LICENSE)