π DSA LeetCode Roadmap π Phase 1: Arrays & Hashing Goal: Build strong fundamentals in arrays, hashmaps, and frequency counting.
Two Sum β Easy π https://leetcode.com/problems/two-sum/description/
Contains Duplicate β Easy π https://leetcode.com/problems/contains-duplicate/description/
Valid Anagram β Easy π https://leetcode.com/problems/valid-anagram/description/
Group Anagrams β Medium π https://leetcode.com/problems/group-anagrams/description/
Top K Frequent Elements β Medium π https://leetcode.com/problems/top-k-frequent-elements/description/
Product of Array Except Self β Medium π https://leetcode.com/problems/product-of-array-except-self/description/
Maximum Subarray β Medium π https://leetcode.com/problems/maximum-subarray/description/
Merge Intervals β Medium π https://leetcode.com/problems/merge-intervals/description/
3Sum β Medium π https://leetcode.com/problems/3sum/description/
Container With Most Water β Medium π https://leetcode.com/problems/container-with-most-water/description/
π Phase 2: Two Pointers Goal: Learn to solve problems with two indices moving through the array.
Valid Palindrome β Easy π https://leetcode.com/problems/valid-palindrome/description/
Two Sum II β Input Array Is Sorted β Medium π https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/description/
3Sum β Medium π https://leetcode.com/problems/3sum/description/
Container With Most Water β Medium π https://leetcode.com/problems/container-with-most-water/description/
Trapping Rain Water β Hard π https://leetcode.com/problems/trapping-rain-water/description/
π Phase 3: Sliding Window Goal: Optimize subarray problems with sliding window.
Best Time to Buy and Sell Stock β Easy π https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/
Longest Substring Without Repeating Characters β Medium π https://leetcode.com/problems/longest-substring-without-repeating-characters/description/
Longest Repeating Character Replacement β Medium π https://leetcode.com/problems/longest-repeating-character-replacement/description/
Minimum Window Substring β Hard π https://leetcode.com/problems/minimum-window-substring/description/
π Phase 4: Stack Goal: Understand monotonic stacks and parsing problems.
Valid Parentheses β Easy π https://leetcode.com/problems/valid-parentheses/description/
Min Stack β Medium π https://leetcode.com/problems/min-stack/description/
Evaluate Reverse Polish Notation β Medium π https://leetcode.com/problems/evaluate-reverse-polish-notation/description/
Generate Parentheses β Medium π https://leetcode.com/problems/generate-parentheses/description/
Daily Temperatures β Medium π https://leetcode.com/problems/daily-temperatures/description/
Car Fleet β Medium π https://leetcode.com/problems/car-fleet/description/
Largest Rectangle in Histogram β Hard π https://leetcode.com/problems/largest-rectangle-in-histogram/description/
π Phase 5: Binary Search Goal: Learn standard and advanced binary search patterns.
Binary Search β Easy π https://leetcode.com/problems/binary-search/description/
Search a 2D Matrix β Medium π https://leetcode.com/problems/search-a-2d-matrix/description/
Koko Eating Bananas β Medium π https://leetcode.com/problems/koko-eating-bananas/description/
Find Minimum in Rotated Sorted Array β Medium π https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/description/
Search in Rotated Sorted Array β Medium π https://leetcode.com/problems/search-in-rotated-sorted-array/description/
Median of Two Sorted Arrays β Hard π https://leetcode.com/problems/median-of-two-sorted-arrays/description/
π Phase 6: Linked List Goal: Master linked list basics and fast/slow pointer tricks.
Reverse Linked List β Easy π https://leetcode.com/problems/reverse-linked-list/description/
Merge Two Sorted Lists β Easy π https://leetcode.com/problems/merge-two-sorted-lists/description/
Reorder List β Medium π https://leetcode.com/problems/reorder-list/description/
Remove Nth Node From End of List β Medium π https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/
Linked List Cycle β Easy π https://leetcode.com/problems/linked-list-cycle/description/
LRU Cache β Medium π https://leetcode.com/problems/lru-cache/description/
Merge K Sorted Lists β Hard π https://leetcode.com/problems/merge-k-sorted-lists/description/