Skip to content

MuhammadMuaaz007/Leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

233 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🧠 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_/

About

This repository contains my LeetCode problem solutions implemented exclusively in C++. It is focused on improving problem-solving skills, mastering Data Structures & Algorithms, and preparing for technical coding interviews. πŸš€ What’s Inside βœ… Solutions written in C++ βœ… Problems from Easy, Medium, and Hard levels

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages