lc-review 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,37 @@
1
+ # lc-review
2
+
3
+ [![LeetCode](https://img.shields.io/badge/LeetCode-000000?logo=LeetCode&logoColor=#d16c06)](#)
4
+
5
+ `lc-review` is a command-line tool designed to help you manage and review your
6
+ LeetCode problems using the SuperMemo 2 (SM2) algorithm for spaced repetition.
7
+ It processes your problem-solving logs and generates a prioritized list of
8
+ problems to review based on their due dates and frustration scores.
9
+
10
+ ## Installation
11
+
12
+ ```bash
13
+ npm i -G lc-review
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ Show the next `n` problems to review (default: 1):
19
+
20
+ - `lc-review next [n]`
21
+
22
+ Example:
23
+
24
+ ```bash
25
+ lc-review next 3
26
+ ```
27
+
28
+ Record a solved attempt (grade 1-5):
29
+
30
+ - `lc-review add <problem_number> <grade>`
31
+
32
+ Example:
33
+
34
+ ```bash
35
+ # add a problem result
36
+ lc-review add 1234 4
37
+ ```