This repository contains my personal solutions to LeetCode problems, organized by problem number and title.
Each problem includes:
- ✅ A clean, efficient Python solution
- 📄 A
README.mdwith problem description, examples, and explanations - 📁 A folder under
leetcode-solutions/named using the problem number and title
This repository helps me:
- Practice daily coding and problem-solving
- Track my learning progress over time
- Prepare for technical interviews
- Build a clear and organized portfolio of LeetCode solutions
LeetCode-Tracker/
├── generate_solution_folder.py # Script to auto-create solution folders
├── README.md # ← This file
└── leetcode-solutions/
├── 2129-capitalize-the-title/
│ ├── solution.py
│ └── README.md
├── 217-contains-duplicate/
│ ├── solution.py
│ └── README.md
└── ...more problems
To keep things clean and automatic, I use a Python script:
- Open
generate_solution_folder.py - Edit these:
problem_numberproblem_titlesolution_codeproblem_description
- Run:
python generate_solution_folder.py- Then push to GitHub:
git add leetcode-solutions/<problem-folder>/
git commit -m "Add Leetcode <number>: <title> solution"
git pushCapitalize each word in the title such that:
- Words with 1–2 letters → lowercase
- Words with 3+ letters → Capitalized (first letter uppercase, rest lowercase)
class Solution:
def capitalizeTitle(self, title: str) -> str:
return " ".join(
word.lower() if len(word) <= 2 else word.capitalize()
for word in title.split()
)- GitHub: Maxd646
- Email: ethiomiracle2017@gmail.com
This project is licensed under the MIT License.
You’re welcome to use, copy, or contribute freely.