This repo is forked from https://github.com/aylei/leetcode-rust. Thanks aylei.
Some solutions are modified by my understanding. The only purpose for this repo is only for sharing different understandings. If you have any questions, feel free to submit an issue.
Run cargo run {id}
to initialize the template submission file of "question #id".
Run cargo test test_{id}
to test the solution for "question #id".
对于大部分难度为 Hard 的问题, 会有中文的思路注释
Working in progress, to do:
- auto generation of solution list (when 100 problems solved)
- Remove all the solution .rs
- Clean lib.rs file
- Start your leetcode journey in rust by typing
cargo run {question_id}