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
Includes problems from **Blind 75**, **Grind 75**, **NeetCode 150**, and **Top Interview Questions**. This is an ongoing project - contributions are welcome!
_Interactive multi-cell playground for each problem_
85
+
12
86
## ✨ Features
13
87
14
88
-**Template-driven development** - Consistent structure for every problem
@@ -22,6 +96,9 @@ Premium LeetCode practice environment with modern Python tooling, beautiful tree
22
96
## 🚀 Quick Start
23
97
24
98
```bash
99
+
# Generate all problems to start practicing
100
+
make gen-all-problems
101
+
25
102
# Run existing problems
26
103
make p-test PROBLEM=insert_interval
27
104
make p-test PROBLEM=invert_binary_tree
@@ -30,25 +107,42 @@ make p-test PROBLEM=invert_binary_tree
30
107
make test
31
108
```
32
109
33
-
**Adding new problems**:
110
+
## 🔄 Workflow Examples
34
111
35
-
- Copy problem and placeholder solution from LeetCode
36
-
- Ask LLM to generate them
37
-
- LLM follows workflow in `.amazonq/rules/problem-creation.md` using cookiecutter templates
112
+
**Practice existing problems**:
113
+
114
+
```bash
115
+
# Work on a specific problem
116
+
make p-test PROBLEM=two_sum
117
+
# Edit leetcode/two_sum/solution.py
118
+
# Run tests to verify
119
+
```
38
120
39
-
## 🧰 Commands
121
+
**Add new problems**:
40
122
41
123
```bash
42
-
make p-test PROBLEM=insert_interval # Test specific problem
43
-
make test# Run all tests
44
-
make lint # Code quality checks
45
-
make p-gen PROBLEM=new_prob # Generate new problem
124
+
# Copy problem description and solution placeholder from LeetCode
125
+
# Then ask your LLM assistant:
126
+
# "Create a new LeetCode problem for Valid Anagram"
127
+
#
128
+
# Behind the scenes, the LLM will:
129
+
# 1. Create JSON template following .amazonq/rules/problem-creation.md
130
+
# 2. Run `make p-gen PROBLEM=valid_anagram`
131
+
# 3. Generate complete problem structure with tests
132
+
# 4. You just implement the solution!
46
133
```
47
134
48
-
**🍴 Fork Setup**:
135
+
_The LLM follows structured rules in `.amazonq/rules/problem-creation.md` to ensure consistent, high-quality problem generation using proven templates._
136
+
137
+
**Bulk operations**:
49
138
50
139
```bash
51
-
make gen-all-problems # Regenerate all problems from JSON templates
140
+
# Test all problems
141
+
make test
142
+
# Regenerate all from templates
143
+
make gen-all-problems
144
+
# Check code quality
145
+
make lint
52
146
```
53
147
54
148
## 🧰 Helper Classes
@@ -63,4 +157,6 @@ make gen-all-problems # Regenerate all problems from JSON temp
63
157
- Perfect for debugging linked list problems
64
158
- New helpers: Add to `leetcode_py/`
65
159
160
+
This is an ongoing project - contributions are welcome!
161
+
66
162
Perfect for interview preparation with professional-grade tooling and beautiful visualizations.
0 commit comments