# leetcode_py **Repository Path**: coldbug/leetcode_py ## Basic Information - **Project Name**: leetcode_py - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-03 - **Last Updated**: 2026-06-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # LeetCode Hot100 Python framework for LeetCode Hot100 practice. Each problem keeps `Solution` and its unittest cases in the same file, so you can open one file, write the answer, and run it directly. ## Structure - `hot100/pXXXX_problem_name.py`: one problem per file. - `hot100/utils.py`: shared linked-list, tree, and random-list helpers. - Each problem file includes the empty core code, sample tests, and a direct-run entry point. ## Run Run one problem directly: ```bash python hot100/p0001_two_sum.py ``` Run one problem through unittest: ```bash python -m unittest hot100.p0001_two_sum -v ``` Run every Hot100 scaffold: ```bash python main.py ``` The solution bodies intentionally raise `NotImplementedError`. Pick a file, implement the method or class, and rerun that file.