Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.06 KB

File metadata and controls

32 lines (22 loc) · 1.06 KB

Contributing

Thanks for helping improve this LeetCode Hot 100 practice tool.

Before opening an issue or pull request

  • Explain the user-visible problem or the intended improvement.
  • Keep changes focused and avoid committing local practice state such as progress.json, review_jobs/, or exported progress files.
  • For a new knowledge topic, add both matching files under 知识点/ and 练习/, link them to each other, and update both directory READMEs.

Local checks

Run the relevant checks before submitting a change:

python3 -m json.tool hot100.json >/dev/null
python3 -m py_compile hot100.py
node --check web/app.js

For a CLI smoke test, use a temporary state file so your personal progress remains outside the repository:

state_file="$(mktemp)"
trap 'rm -f "$state_file"' EXIT
python3 hot100.py --state "$state_file" next
python3 hot100.py --state "$state_file" stats

Style

Prefer Python standard-library solutions, keep the local-first behavior intact, and update the README when a user-facing command or workflow changes.