Description
Contest Algorithms in Rust is an open-source collection of classic data structures and algorithms written in Rust. It is meant to be read as a cookbook that shows how each algorithm is designed and implemented, rather than as a black-box library to import. The code favors usability, clarity and concise code that is easy to change under time pressure. The author built it as a reference for programming contests, and the repository includes algorithms that come up often in them, along with a graphs section that covers graph representations, disjoint set union and elementary graph algorithms. The README also argues that Rust suits students and competitive programmers, because its compiler enforces strict discipline and its speed is close to C++. It lists online judges that accept Rust, including Codeforces, CodeChef, AtCoder, Kattis, SPOJ, LeetCode, HackerRank and Timus. The repository is distributed under the MIT License, so contest submissions do not need to include the license text.…
Highlights
- Classic data structures and algorithms in Rust
- Graph section with adjacency lists and disjoint set union
- Written for clarity, not as a black-box library
- Useful for students and programming contests
- MIT licensed
Ratings & Reviews
No ratings yet
Be the first to rate Rust Algorithms.
People also visit
Rust Algorithms FAQ
What is this repository?
It is a collection of classic data structures and algorithms implemented in Rust, written as a readable cookbook for learning and reference.
Is it a library I can import?
The author says it should be viewed as a whitebox cookbook that shows the design and implementation of algorithms, not as a black-box library.
Who is it for?
Students and educators who want to see concrete implementations, and competitive programmers who want reliable algorithms they can adapt quickly.
Which algorithms are included?
The contents start with a graphs section that covers graph representations and disjoint set union, and more classic algorithms are listed in the repository.
Which judges accept Rust?
The README names Codeforces, CodeChef, AtCoder, Kattis, SPOJ, LeetCode, HackerRank and Timus.
What license is it under?
The MIT License. Contest submissions do not need to include the license text.
Is it free?
Yes. The code is open source and public on GitHub.





