npm install -g https://github.com/ketankr9/leetcode-cli#virtualNote: This feature is developed on top of leetcode-tools/leetcode-cli 2.6.22
Examples
leetcode virtual weekly-contest-175
✔ [1346] Check If N and Its Double Exist 3 Easy (42.20 %)
[1347] Minimum Number of Steps to Make Two Strings Anagram 4 Medium (76.53 %)
[1348] Tweet Counts Per Frequency 5 Medium (23.66 %)
[1349] Maximum Students Taking Exam 7 Hard (33.83 %)
leetcode virtual weekly-contest-175 --start
[weekly-contest-175] Started Successfully
leetcode virtual weekly-contest-175 --question 0 -gxe
// This works just like ans opens file 1346.check-if-n-and... in editor
Install
npm install -g https://github.com/ketankr9/leetcode-cli#virtual
Note: This feature is developed on top of leetcode-tools/leetcode-cli 2.6.22Examples
leetcode virtual weekly-contest-175
leetcode virtual weekly-contest-175 --start
leetcode virtual weekly-contest-175 --question 0 -gxe // This works just like ans opens file 1346.check-if-n-and... in editor
leetcode virtual weekly-contest-175 -f 1346.check-if-n-and-its-double-exist.cpp
leetcode virtual weekly-contest-175 -f 1346.check-if-n-and-its-double-exist.cpp --submit
leetcode virtual weekly-contest-175 --myrank // Note: This isn't final, needs more information and pretty print
leetcode virtual weekly-contest-175 --end // In case you want to give-up, just like in leetcode.com
Repo
https://github.com/ketankr9/leetcode-cli/tree/virtual.
TODO
Known Issues