Thanks the great job done by aylei, 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
.
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/
id | Leetcode | Level |
---|---|---|
1 | two-sum | Easy |