/algostructures-rs

A collection of algorithms and data structures implemented in Rust, ranging from simple sorting and list structures, to more full-featured elements such as a linear and matrix algebra module.

Primary LanguageRustGNU General Public License v3.0GPL-3.0

AlgoStructures (Rust)

A collection of algorithms and data structures, all implemented in pure Rust. These are by no means optimal (nor necessarily optimized in any way, shape, or form), as this is primarily an educational endeavor for me in my pursuit of learning Rust.

The vast majority of algorithms and whatnot found herein are implemented based on specifications found in a few textbooks. As this progresses, I may add additional sources to provide code structures not found in these.

A few of the aforementioned references I have used are as follows:

Repository Structure

Typical Cargo library crate structure is followed. Sections are broken down into broad categories as modules, which may contain submodules for more intricate or involved feature sections. Top-level module-definition files (e.g. graph.rs) scope in all module and submodule components, and will typically contain module-wide shared features and configurations (such as basic graph definitions). As is idiomatic, unit tests are found in their respective modules.

At present, the topmost modules are algorithms, data structures, and graphs.