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.
- Host: GitHub
- URL: https://github.com/acodercat/rust-algorithms
- Owner: acodercat
- License: mit
- Created: 2019-10-29T06:08:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-11-02T06:19:44.000Z (over 4 years ago)
- Last Synced: 2025-04-05T01:51:15.307Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 21.5 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Algorithms
[](https://travis-ci.org/acodercat/rust-algorithms)
[](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)