A small tool for writing solutions to LeetCode problems.
- Initialize a directory with Git and connect to your GitHub repo.
- Write your LeetCode solution from default template.
- Search and open your LeetCode solution.
- Set up your own writing template.
- Add/Remove categories for your LeetCode solutions.
- Support markdown format.
$ pip install leetcode-with-me
-
Initialize a directory and connect to GitHub repo.
$ lc init <directory> <remote repo>
-
Create a solution markdown for you.
$ lc new <solution name> <solution category>
-
Search and open a solution.
$ lc open <search name>
-
Set up your own writing template.
$ lc template -set <template path>
-
Add/Remove a category.
$ lc category add <category>
$ lc category rm <category>
-
Upload solutions to the GitHub repo.
$ lc upload
See lc --help
for more command-line switches and usage instructions.
I would love to hear what you think about leetcode-with-me
on issues page
Make pull requests, report bugs, suggest ideas and discuss leetcode-with-me
.
MIT