/leetcode-rust

my leetcode solutions in rust

Primary LanguageRustGNU General Public License v3.0GPL-3.0

My Leetcode Solution in Rust

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)

Usage

  • Remove all the solution .rs
  • Clean lib.rs file
  • Start your leetcode journey in rust by typing cargo run {question_id}