Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aylei/leetcode-rust
my leetcode solutions in rust
https://github.com/aylei/leetcode-rust
data-structures dynamic-programming leetcode leetcode-rust leetcode-solutions rust
Last synced: 5 days ago
JSON representation
my leetcode solutions in rust
- Host: GitHub
- URL: https://github.com/aylei/leetcode-rust
- Owner: aylei
- License: apache-2.0
- Created: 2019-01-05T18:25:32.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-26T09:36:27.000Z (over 1 year ago)
- Last Synced: 2024-12-11T01:06:20.368Z (12 days ago)
- Topics: data-structures, dynamic-programming, leetcode, leetcode-rust, leetcode-solutions, rust
- Language: Rust
- Homepage:
- Size: 493 KB
- Stars: 727
- Watchers: 20
- Forks: 139
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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}`