/rust-algorithms

Algorithms and Data Structures of all kinds written in Rust.

Primary LanguageRust

Classic Algorithms in Rust

This repo contains the implementation of various classic algorithms for educational purposes in Rust. It includes a comprehensive list of algorithms. Contributions are welcome!

The main goal right now is to improve docs, code readability and tests.

Setup

This repo is only for educational purposes. It is meant to be used as a reference material. Thus, it is written as a library instead of a binary.

The way to check the execution of an algorithm is running the tests, which you can do using:

cargo test

Algorithms

Sorting Algorithms

Graphs

Dynamic Programming

Data Structures

Strings

General

Ciphers

Bit Manipulation

Geometry

Search

Math

Contributing

See CONTRIBUTING.md