This repository contains my solutions to coding problems from platforms such as LeetCode, HackerRank, and others. Solutions are written primarily in Python and C++, with the potential to expand to other languages over time.
In addition to final solutions, I include failed attempts, error logs, and step-by-step debugging notes to document my thought process and learning journey.
- β Final, working solutions for each challenge
- β Archived failed attempts with explanations
- π Debugging steps and how I fixed issues
- π Per-problem
README.md
files to explain:- Problem statement (summary)
- Thought process
- Why certain approaches failed
- Final solution and complexity analysis
- Python 3
- C++
- (More languages may be added later)
code-challenges/
βββ leetcode/
β βββ 001\_two\_sum/
β β βββ solution.py
β β βββ attempt1\_wrong.cpp
β β βββ README.md
β βββ ...
βββ hackerrank/
β βββ ...
βββ README.md
Each challenge folder contains:
- Final solution(s)
- Any failed/buggy versions
- A
README.md
explaining the problem and my solution process
This is a personal learning project, but feel free to fork or use as a reference. PRs are welcome if they follow the same learning-focused structure.
MIT License β see LICENSE
file for details.