This repository was created as a way to deepen understanding of algorithms and data structures by solving problems from Leetcode. Each solution is documented to serve as both a reference and a personal learning log.
It is structured in a way that makes it easy to review, revisit, and expand my problem-solving knowledge over time.
- Arrays
- Linked Lists
- Recursion
- Sorting
- Binary Search
- Trees
- Backtracking
- Heap
- Hashing
- Graphs
- Dynamic Programming
- Bit Manipulation
Organized by topic (e.g., arrays
, graph
, dp
). Each problem is in a numbered folder with a slug:
📁 arrays/
├── 001_two_sum/
│ ├── solution.cpp
│ └── README.md
I created this script to help with documentation and repository organization. Here's how to use it:
chmod +x add_problem.sh
./add_problem.sh
It will prompt you for:
- Category (e.g.,
arrays/binarysearch
) - Problem title
- Difficulty (optional)
It then creates a folder with:
solution.cpp
README.md
And updates all README files automatically.
Made with dedication by Shellyda