This repository contains my solutions to various problems from LeetCode, implemented primarily in C++.
The goal is to document my problem-solving journey, track progress, and serve as a quick reference for common algorithms and data structures.
Each problem is contained in its own dedicated folder
Inside each problem's folder, you will find:
- README.md → A detailed explanation of the problem, thought process, chosen approach, and complexity analysis.
- solution.cpp → The complete, runnable C++ code for the solution.
- 557 - Reverse Words in a String
- 705 - Design HashSet
- 706 - Design HashMap
- 832 - Flipping an Image
- 942 - DI String Match
- 1313 - Decompress Run-Length Encoded List
- 1528 - Shuffle String
- 1832 - Check if the Sentence Is a Pangram
- 3042 - Count Prefix and Suffix Part 1
- 575 - Design Candies
- 1021 - Remove Outermost Parentheses
- 2185 - Counting Words With a Given Prefix
- 344 - Reverse String
- 2089 - Find Target Indices After Sorted Array
- 771 - Jewels and Stones
- 1710. Maximum Units on a Truck
- 1207 - Unique Number of Occurrences
- 349 - Intersection of Two Arrays
- 2215 - Find the Difference of Two Arrays
- 136 - Single Number
- 1636 - Sort Array by Increasing Frequency
- 1460 - Make Two Arrays Equal by Reversing Subarrays
- 412 - Fizz Buzz
- 1047 - Remove All Adjacent Duplicates In String
- 3005 - Count Elements With Maximum Frequency
- 476 - Number Complement
- 258 - Add Digits
- 169 - Majority Element
- 268 - Missing Number
- 242 - Valid Anagram
- 217 - Contains Duplicate
- 283 - Move Zeroes
- 976 - Largest Perimeter Triangle
- 448 - Find All Numbers Disappeared in an Array
- 1539 - Kth Missing Positive Number
- 2549 - Count Distinct Numbers on Board
- 485 - Max Consecutive Ones
No medium problems solved yet.
No hard problems solved yet.
- **Total Problems Solved:**37
- Easy: 37
- Medium: 0
- Hard: 0