Solve 2–3 problems every day and push to GitHub.
- Language: Python 3
- Testing:
pytest
- Structure: one folder per problem with
solution.py
andtest_solution.py
- Commit convention:
feat(lc): <slug> - <difficulty> [tags]
-
Create a new problem stub (example):
python newlc.py "Two Sum" --slug two-sum --id 1 --difficulty Easy --tags array,hash-table
-
Edit
solution.py
andtest_solution.py
. -
Run tests:
pip install -r requirements.txt pytest -q
-
Commit & push:
git add . git commit -m "feat(lc): two-sum - Easy [array, hash-table]" git push origin main
Track streak in this table (update automatically by committing daily):
Date | Count | Notes |
---|---|---|
2025‑10‑05 | 6 | blind 75 |