Compilation of all algorithm correct answers I have submitted to leetcode.
I used leetcode-cli to consume from leetcode's API, with this cookie trick here.
I also had to write my own script to get past the new throttling restrictions on the API (If you reader are a leetcode dev: Sorry for the nuisance).
-
npm install -g leetcode-tools/leetcode-cli
-
python get_all_questions.py -l python
Note: To download 300 questions it will take around 15 minutes due to pause to avoid throttling.
As of May 14th 2020:
$ leetcode stat -t -l algorithms
Easy 119/353 ( 33.71 %) ███████████░░░░░░░░░░░░░░░░░░░
Medium 151/684 ( 22.08 %) ███████░░░░░░░░░░░░░░░░░░░░░░░
Hard 30/285 ( 10.53 %) ████░░░░░░░░░░░░░░░░░░░░░░░░░░