You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added TQDM progress bar to reflect progress of card generation
7
+
3
8
## 1.1.0
4
9
- Added support for using presets of questions, including the Grind 75, Grind 169, and the original Blind 75. This argument is an optional argument instead of inputting urls or a file of questions.
This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create flashcards for study,
9
-
which can then be imported into Anki. Currently, this tool supports taking in a list of or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)) and outputting
10
-
problems in a format that can be imported to Anki. These cards include three fields:
11
-
1. The front of the study card, containing the question ID, Title, URL, and problem description
12
-
2. The publicly available solutions (and NeetCode solution, if available)
13
-
3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
8
+
This package lets you get grokking as quickly as possible with Leetcode. It provides a command-line tool for interracting with Leetcode to create either an Excel file or Anki flashcards for study. Currently, this tool supports taking in a list of leetcode question slugs or URLs or popular study sets (including the [Blind 75](https://www.teamblind.com/post/New-Year-Gift---Curated-List-of-Top-75-LeetCode-Questions-to-Save-Your-Time-OaM1orEU), [Grind 75](https://www.techinterviewhandbook.org/grind75), and [Neetcode 150](https://neetcode.io/practice)).
14
9
15
10
## Why?
16
11
This package was created as an opinionated alternative to other existing packages (as listed at the bottom of this README).
The preset to use to generate problem(s) for. (default: None)
40
-
--format {anki}, -F {anki}
35
+
--format {anki,excel}, -F {anki,excel}
41
36
The format to save the Leetcode problem(s) in. (default: anki)
42
37
--csrf CSRF, -c CSRF The CSRF token to use for LeetCode authentication. (default: None)
43
38
--output OUTPUT, -o OUTPUT
@@ -59,16 +54,33 @@ which will generate the file `output.txt`. We can then open Anki to import these
59
54
60
55

61
56
57
+
## Anki
58
+
When generating an Anki output, the resulting "cards" are saved as a `.txt` file. These cards include three fields:
59
+
1. The front of the study card, containing the question ID, Title, URL, and problem description
60
+
2. The publicly available solutions (and NeetCode solution, if available)
61
+
3. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
62
+
63
+
## Excel
64
+
When generating an Excel output, the resulting questions are saved in an `.xlsx` file. Each problem includes the following fields:
65
+
1. ID of the leetcode question
66
+
2. Title of the leetcode question
67
+
3. URL of the leetcode question
68
+
4. Last date that this question was attempted by the user (please note that this is not pulled from your leetcode profile, but left for you to update as you progress in solving leetcode questions)
69
+
5. The tags associated with the problem (i.e., if the problem involves a hash map, arrays, etc...)
70
+
6. Neetcode video link (if it exists)
71
+
7. Solution links for the problem (if they are reachable)
72
+
8. Companies that have asked this question recently in interviews (if they are reachable)
62
73
63
74
## Roadmap
75
+
-[X] Use TQDM to show card generation progress
76
+
-[X] Add support for exporting to an excel sheet
77
+
-[X] Add support for showing neetcode solutions on the back of the card as a
78
+
-[ ] Add support for getting the difficulty of questions
64
79
-[ ] Add support for fetching premium questions via authentification
65
80
-[ ] Add support for importing cards into Quizlet
66
81
-[ ] Add support for fetching questions by topic or tag
67
-
-[ ] Add support for exporting to an excel sheet
68
-
-[X] Add support for showing neetcode solutions on the back of the card as a link
69
-
-[ ] Add support for determining which fields to show on the card
70
-
-[ ] Use TQDM to show card generation progress
71
-
-[ ] Allow for the definition of custom formatters and outputs
82
+
link
83
+
-[ ] Allow for the definition of custom formatters and outputs (including which fields are included or excluded)
0 commit comments