Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/millione/leetcode-rust
leetcode solutions based on rust
https://github.com/millione/leetcode-rust
leetcode rust
Last synced: 13 days ago
JSON representation
leetcode solutions based on rust
- Host: GitHub
- URL: https://github.com/millione/leetcode-rust
- Owner: Millione
- Created: 2021-09-22T13:08:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-13T02:52:56.000Z (over 3 years ago)
- Last Synced: 2025-01-23T00:36:46.181Z (13 days ago)
- Topics: leetcode, rust
- Language: Rust
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Leetcode Solutions Based On Rust
Thanks the great job done by [aylei](https://github.com/aylei/leetcode-rust), here is the version with code refactoring based on `tokio`. Besides, this version removed the feature `all` for which initialize all problems and added solved problems auto-generation in `README.md`.# Usage
Execute `cargo run`, then you can input one of the below commands:* `$id`: initialize problem with id in problems/
* `random`: initialize problem with random id in problems/
* `solve $id`: move problem with id from problems/ to solutions/# Solved
id
Leetcode
Level
1
two-sum
Easy