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
This package 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 URLs and outputting
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 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
10
problems in a format that can be imported to Anki. These cards include three fields:
11
11
1. The front of the study card, containing the question ID, Title, URL, and problem description
12
12
2. The publicly available solutions (and NeetCode solution, if available)
The preset to use to generate problem(s) for. (default: None)
35
40
--format {anki}, -F {anki}
36
41
The format to save the Leetcode problem(s) in. (default: anki)
@@ -42,7 +47,11 @@ options:
42
47
```
43
48
44
49
## Example
45
-
In a directory with a file named `questions.txt`, where each line is either a Leetcode problem URL or slug (or a combination of both), we can run the command
50
+
In the simplest case, if you want to [Grok](https://www.reddit.com/r/leetcode/comments/t5xqb6/how_to_use_grokking/) the most commonly asked questions, you should generate from a preset. For example, generating Anki cards from the [Grind 75](https://www.techinterviewhandbook.org/grind75) is as simple as
51
+
```shell
52
+
$ leetcode-study-tool -p grind_75
53
+
```
54
+
Perhaps, instead, you'd prefer to import questions that you've already worked on. In a directory with a file named `questions.txt`, where each line is either a Leetcode problem URL or slug (or a combination of both), we can run the command
46
55
```shell
47
56
$ leetcode-study-tool -f questions.txt
48
57
```
@@ -58,6 +67,8 @@ which will generate the file `output.txt`. We can then open Anki to import these
58
67
-[ ] Add support for exporting to an excel sheet
59
68
-[X] Add support for showing neetcode solutions on the back of the card as a link
60
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
0 commit comments