Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8855efe

Browse filesBrowse files
committed
clarifying population of completed problems
1 parent 9421deb commit 8855efe
Copy full SHA for 8855efe

File tree

Expand file treeCollapse file tree

1 file changed

+25
-16
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+25
-16
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+25-16Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
# leetcode-problem-picker
22

3-
## "Which problem should I do next?"
3+
LeetCode-Problem-Picker uses your history to select problems catered to your goals and needs.
44

5-
When a problem is too easy, you're wasting your time. Too difficult, and you may soon get discouraged.
5+
Its purpose is to:
6+
Track progress in order to identify and improve on areas of weakness
7+
Choose problems that are most beneficial: frequently asked by the top tech companies
8+
Ensure balance between all subjects with weighted rotation.
69

7-
During my leetcode journey, I discovered the answer to "which problems should I do next?" depend on goals and progress. I categorized these and gave them names.
8-
1. **Topic Focus**: Narrow down to 1+ subjects e.g. "trees, graphs or DP". Intended for learning and retaining.
9-
2. **Frequently Asked**: Questions from a list, e.g. ones asked by companies or list of Blind's Curated 75.
10+
During my leetcode journey, I discovered the answer to "which problems should I do next?" depend on goals and progress:
11+
1. **Topic Focus**: Narrow down to 1+ subjects e.g. "trees, graphs or DP". Intended for learning and focusing on weaknesses.
12+
2. **Frequently Asked**: Questions from a list, e.g. ones asked by companies or list of Blind's Curated 75. The default.
1013
3. **Level Up** (WIP): Deduces user's "skill range" for each topic in order to challenge appropriately.
1114
4. **Weighted random** (TODO): Weighted towards questions with high like count, greater like/dislike ratio, etc.
1215

@@ -45,16 +48,22 @@ quit stop the program
4548
```
4649

4750
## Completed Problems (optional/recommended):
48-
To maximize this program, you need to maintain a list of completed problems. This is to avoid being suggested problems you’ve done before, and in the case of "Level Up," to select problems slightly out of comfort zone
49-
This can be done in three ways:
50-
1. completed.txt: Format is a comma-delimited list of problem numbers e.g. "78,5,13,1337". Very simple, but not compatible with "Level Up"
51-
2. completed.csv: One problem, one line
52-
Expected format: ```LC number, [was solved],[time],[date],[num_errors]```
51+
To maximize this program, you need to maintain a list of completed problems. This can be done in the following ways:
52+
1. interactive mode: After completion of each assigned problem, the result is appended to completed.csv.
53+
2. completed.txt: Best if you have a history of solving leetcode problems. The file expects a comma-delimited list of problem numbers e.g. ```78,5,13,1337```
5354
```
54-
LC number integer. The only required field
55-
was solved string. valid inputs: y/n (or yes/no). case insensitive
56-
time integer. number of minutes spent on the problem
57-
date DateTime. date completed
58-
num_errs float. # mistakes made. Float to differentiate minor from major errors.
55+
To quickly populate with leetcode data:
56+
- Login to leetcode and visit [your list of solved problems](https://leetcode.com/problemset/all/?status=Solved). Select "All" rows per page in the bottom-left dropdown.
57+
- Open up Developer Tools (F12) and run this line in your Console tab:
58+
console.log(Array.from(document.querySelectorAll('.reactable-data tr td[label="#"]')).map(x => x.textContent).toString())
59+
- Copy the list and save into completed.txt
60+
```
61+
3. completed.csv: The file that interactive mode writes to. Provides details about attempt. One problem per line
62+
Expected format: ```LC number,was solved,[num_errors],[time],[date]```
5963
```
60-
3. interactive mode: Solve a problem after it is assigned, then record results before getting the next problem. Appends results to completed.csv.
64+
LC number integer
65+
was solved string. valid inputs: y/n (or yes/no)
66+
num_errors number of mistakes made when solving problem
67+
time amount of time spent on the problem (minutes)
68+
date DateTime. date completed
69+
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.