From d601ca76203039bc2eb801d64ef1f61df9de0287 Mon Sep 17 00:00:00 2001 From: Evgenii Seliavka Date: Tue, 31 Mar 2026 15:32:32 -0400 Subject: [PATCH] Document LeetCode solution conventions --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index c3f3058..61c2824 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,13 @@ The actively maintained root modules live under `src/`: - `practice/algorithms/`: standalone coding exercises - `practice/leetcode/`: LeetCode solutions archive +LeetCode additions follow a lightweight convention: + +- place each solution in the matching hundred-bucket package using `solution_.py` +- keep the solution self-contained and include a small `unittest` case in the same file +- prefer the simplest efficient implementation before opening a PR +- use commit titles like `Add LeetCode solution ` + ## Archive - `archive/`: archived scripts and reference files kept outside the active code paths