π§ LeetCode Solutions in C++
This repository contains my complete collection of LeetCode problem solutions implemented in C++, created with the goal of mastering Data Structures and Algorithms, improving problem-solving skills, and preparing for technical interviews.
All solutions are written using modern C++ and the Standard Template Library (STL), with an emphasis on clean code, optimal time and space complexity, and readability. Each problem is solved thoughtfully, following well-known algorithmic patterns commonly asked in coding interviews.
π― Purpose of This Repository
π Track my LeetCode learning progress
π§© Practice and master DSA concepts step by step
πΌ Prepare for software engineering interviews
π Build a reference library for common problem patterns
π Improve C++ proficiency with real algorithmic problems
π Repository Structure
Problems are organized topic-wise to make learning and revision easier. Each folder represents a core DSA concept:
Arrays & Strings
Two Pointers & Sliding Window
Linked List
Stack & Queue
Hashing
Trees & Binary Search Trees
Graphs (BFS, DFS, Shortest Path, Union Find)
Binary Search
Greedy Algorithms
Dynamic Programming
Recursion & Backtracking
Bit Manipulation
Math & Number Theory
Advanced Topics (Tries, Heaps, Monotonic Stack, etc.)
Each solution file typically includes:
β Problem name and number
β Approach explanation (in comments)
β Time and space complexity
π οΈ Language & Tools Used
C++ (STL)
Algorithms & Data Structures
Competitive programming techniques
π How to Use This Repository
Browse problems by topic folder
Open any .cpp file to view the solution
Review logic, STL usage, and optimizations
Use it for revision, practice, or interview prep
π My LeetCode Profile
You can check my live LeetCode progress and statistics here: π https://leetcode.com/u/Muaaz_/