An open API service indexing awesome lists of open source software.

https://github.com/shekohex/leetcode-rs

💡 Learning Rust 🦀 By Solving Leetcode Problems.
https://github.com/shekohex/leetcode-rs

learning-by-doing leetcode-rust leetcode-solutions rust

Last synced: 2 months ago
JSON representation

💡 Learning Rust 🦀 By Solving Leetcode Problems.

Awesome Lists containing this project

README

        



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](https://leetcode.com) 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](https://doc.rust-lang.org/book/ch01-01-installation.html).

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](https://leetcode.com/problems/two-sum/) should be located in [`easy/two-sum/src/lib.rs`](easy/two-sum/src/lib.rs).

## Index 📑

Here you can find the list of solved problems:

- [Easy](easy/README.md).
- [Medium](medium/README.md).
- [Hard](hard/README.md).

## Contributing 👋

Please see the [[Contribute](CONTRIBUTING.md)]. file for more details.

## Support 🎁

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

## License 📕

LeetCode Rust is licensed under either of

- Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)

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.

- Logo: [static-assertions-rs](https://github.com/nvzqz/static-assertions-rs)'s Logo mixed with original LeetCode Logo.