Skip to content

Commit 696ac27

Browse files
authored
Document LeetCode solution conventions (#67)
1 parent e5bc28f commit 696ac27

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ The actively maintained root modules live under `src/`:
4040
- `practice/algorithms/`: standalone coding exercises
4141
- `practice/leetcode/`: LeetCode solutions archive
4242

43+
LeetCode additions follow a lightweight convention:
44+
45+
- place each solution in the matching hundred-bucket package using `solution_<problem_id>.py`
46+
- keep the solution self-contained and include a small `unittest` case in the same file
47+
- prefer the simplest efficient implementation before opening a PR
48+
- use commit titles like `Add LeetCode solution <problem_id>`
49+
4350
## Archive
4451

4552
- `archive/`: archived scripts and reference files kept outside the active code paths

0 commit comments

Comments
 (0)