| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
A cli tool to enjoy leetcode!
Great thanks to leetcode.com, an really awesome website!
node.js (npm included) required, please follow the installation guide:
From npm repo:
$ sudo npm install -g leetcode-cli
From source code:
$ git clone http://github.com/skygragon/leetcode-cli $ cd leetcode-cli && npm install && sudo npm install -g .
Read help first $ lc help Login with your leetcode account $ lc user -l Browse all problems $ lc list Choose one problem $ lc show 1 -g -l cpp Coding it! Run test(s) and pray... $ lc test ./two-sum.cpp -t '[3,2,4]\n7' Submit final solution! $ lc submit ./two-sum.cpp
| Back | FazBrowse Home | New Git URL |