This folder contains my structured and clean C++ solutions to various LeetCode problems, organized by problem number and title.
The goal of this repository is to maintain a clean, searchable, and well-organized archive of my problem-solving journey.
Each folder corresponds to a specific LeetCode problem using the pattern:
[ProblemNumber]_[ProblemTitle]
Inside each folder, you will typically find:
solution.cpp→ My C++ implementationREADME.md→ (optional) explanation of the approach- Additional notes if needed
- 📌 Track my daily LeetCode practice
- 📈 Improve problem-solving and algorithmic thinking
- 🧮 Build a library of reusable ideas and templates
- 🗂️ Keep solutions neatly categorized and easy to revisit
- 🔥 Prepare efficiently for interviews & contests
This repository includes solutions for problems across:
- Arrays / Strings
- Hashmaps & Sets
- Prefix Sum
- Sliding Window
- Sorting & Greedy
- Binary Search
- Stack / Queue
- Dynamic Programming
- Bit Manipulation
- Math & Number Theory
- Custom Data Structure Problems
- Hard & Premium Problems (authorized solutions)
Each problem is solved in clean C++, usually with:
- A clear approach
- Optimal time complexity
- Minimal memory use
- Professional formatting
- Language: C++17 / C++20
- Editor: VS Code
- Build: g++ / clang
- Style: Competitive-Programming-friendly templates
- Add explanations for all solved problems
- Add testcases where useful
- Add Python versions for some problems
- Increase problem coverage to 300+
This repo is primarily for my own learning, but feel free to:
- Create issues
- Suggest optimizations
- Share alternative approaches