/leetcode-rs

💡 Learning Rust 🦀 By Solving Leetcode Problems.

Primary LanguageRustApache License 2.0Apache-2.0

PRs welcome Rust LeetCode License Actions Status

LeetCode Rust 🦀

Learning Rust By Solving Leetcode Problems.

Introduction 💭

I believe the best way to learn and improve your skills is by practicing and the best way to do so is by solving problems, a lot of problems.

Fortunately, Leetcode has a lot of them, and here we are attempting to provide (hopefully) the best and idiomatic solutions for these problems hoping that will help you find new ways to think in Rust.

Getting Starting 🙋

We are assuming that you have Rust installed already, if not please 💁 do.

All solutions are organized in separate directories according to there difficulty level (easy, medium, hard), and every solution is provided as library and all code should be contained in one single file (usually lib.rs), for example the Two Sum should be located in easy/two-sum/src/lib.rs.

Index 📑

Here you can find the list of solved problems:

Contributing 👋

Please see the [Contribute]. file for more details.

Support 🎁

Any support is welcome. At least you can give us a star ⭐

License 📕

LeetCode Rust is licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in LeetCode Rust by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.