Python / Java solutions for LeetCode
https://github.com/huangsam/leetcode.git
Python / Java solutions for LeetCode problems. π
Sharpen your coding skills with these solutionsβfeel free to explore, learn, and contribute!
π π π - πββοΈ πββοΈ πββοΈ - β β β
The URL of each solution is embedded at the top of the file.
To validate Python solutions:
uv run ruff check python
uv run mypy python
To validate Java solutions:
gradle build
To get details on problems and progress without visiting the website, use the leetc CLI tool:
# List URLs for all solutions in the repository
uv run leetc.py urls
# Get details for a specific problem
uv run leetc.py detail $URL_FRAGMENT
# Get your overall progress summary
uv run leetc.py progress $USERNAME
These resources can complement learning via LeetCode: