windprog / leetcode-cli

A cli tool to enjoy leetcode!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm version Releases license Build Join chat at https://gitter.im/skygragon/leetcode-cli

leetcode-cli

A productive cli tool to enjoy leetcode!

Great thanks to leetcode.com, a really awesome website!

ReleasesInstallDocsCommandsAdvancedPlugins

Screenshot

Quick Start

Read help first                         $ leetcode help
Login with your leetcode account        $ leetcode user -l
Browse all questions                    $ leetcode list
Choose one question                     $ leetcode show 1 -g -l cpp
Coding it!
Run test(s) and pray...                 $ leetcode test ./two-sum.cpp -t '[3,2,4]\n7'
Submit final solution!                  $ leetcode submit ./two-sum.cpp

About

A cli tool to enjoy leetcode!

License:MIT License


Languages

Language:JavaScript 98.2%Language:Shell 1.1%Language:Batchfile 0.3%Language:Smarty 0.3%Language:Dockerfile 0.1%