My journey of learning Data Structures and Algorithms (DSA) using C++ through LeetCode.
I will solve these problems in the order below, progressing from Very Easy → Medium.
Problems Solved: 9/ 50
- #1480 — Running Sum of 1d Array
- #1672 — Richest Customer Wealth
- #1470 — Shuffle the Array
- #1431 — Kids With the Greatest Number of Candies
- #1365 — How Many Numbers Are Smaller Than the Current Number
- #1528 — Shuffle String
- #1108 — Defanging an IP Address
- #1342 — Number of Steps to Reduce a Number to Zero
- #1295 — Find Numbers with Even Number of Digits
- #771 — Jewels and Stones
- #1 — Two Sum
- #217 — Contains Duplicate
- #242 — Valid Anagram
- #125 — Valid Palindrome
- #121 — Best Time to Buy and Sell Stock
- #26 — Remove Duplicates from Sorted Array
- #283 — Move Zeroes
- #344 — Reverse String
- #704 — Binary Search
- #35 — Search Insert Position
- #20 — Valid Parentheses
- #155 — Min Stack
- #21 — Merge Two Sorted Lists
- #206 — Reverse Linked List
- #141 — Linked List Cycle
- #876 — Middle of the Linked List
- #225 — Implement Stack using Queues
- #232 — Implement Queue using Stacks
- #94 — Binary Tree Inorder Traversal
- #104 — Maximum Depth of Binary Tree
- #53 — Maximum Subarray
- #189 — Rotate Array
- #169 — Majority Element
- #15 — 3Sum
- #49 — Group Anagrams
- #347 — Top K Frequent Elements
- #238 — Product of Array Except Self
- #56 — Merge Intervals
- #57 — Insert Interval
- #200 — Number of Islands
- #3 — Longest Substring Without Repeating Characters
- #424 — Longest Repeating Character Replacement
- #102 — Binary Tree Level Order Traversal
- #98 — Validate Binary Search Tree
- #105 — Construct Binary Tree from Preorder and Inorder Traversal
- #207 — Course Schedule
- #198 — House Robber
- #322 — Coin Change
- #300 — Longest Increasing Subsequence
- #1143 — Longest Common Subsequence