The Expert 303
The core 150 teaches you to recognise a pattern. This is the second pass — the same twenty patterns, weighted to Medium and Hard, for when recognition is no longer the bottleneck and execution under pressure is.
Overlap with the core sheet is deliberate. A problem worth solving in month one is often worth re-solving in month four, under a clock, without the editorial.
Every problem here is a free, public LeetCode problem, checked against LeetCode itself when this page was built — no premium-only problems, no dead links. We don't host the problems; we decide the order and track what you've done.
Arrays & Hashing16
- 217Contains DuplicateEasy
- 242Valid AnagramEasy
- 1Two SumEasy
- 49Group AnagramsMedium
- 347Top K Frequent ElementsMedium
- 238Product of Array Except SelfMedium
- 36Valid SudokuMedium
- 128Longest Consecutive SequenceMedium
- 560Subarray Sum Equals KMedium
- 169Majority ElementEasy
- 75Sort ColorsMedium
- 41First Missing PositiveHard
- 380Insert Delete GetRandom O(1)Medium
- 442Find All Duplicates in an ArrayMedium
- 73Set Matrix ZeroesMedium
- 31Next PermutationMedium
Two Pointers16
- 125Valid PalindromeEasy
- 167Two Sum II - Input Array Is SortedMedium
- 153SumMedium
- 184SumMedium
- 11Container With Most WaterMedium
- 42Trapping Rain WaterHard
- 26Remove Duplicates from Sorted ArrayEasy
- 283Move ZeroesEasy
- 905Sort Array By ParityEasy
- 881Boats to Save PeopleMedium
- 163Sum ClosestMedium
- 977Squares of a Sorted ArrayEasy
- 19Remove Nth Node From End of ListMedium
- 763Partition LabelsMedium
- 392Is SubsequenceEasy
- 345Reverse Vowels of a StringEasy
Sliding Window16
- 121Best Time to Buy and Sell StockEasy
- 3Longest Substring Without Repeating CharactersMedium
- 424Longest Repeating Character ReplacementMedium
- 567Permutation in StringMedium
- 76Minimum Window SubstringHard
- 239Sliding Window MaximumHard
- 438Find All Anagrams in a StringMedium
- 1004Max Consecutive Ones IIIMedium
- 904Fruit Into BasketsMedium
- 1493Longest Subarray of 1's After Deleting One ElementMedium
- 209Minimum Size Subarray SumMedium
- 992Subarrays with K Different IntegersHard
- 1248Count Number of Nice SubarraysMedium
- 643Maximum Average Subarray IEasy
- 1358Number of Substrings Containing All Three CharactersMedium
- 1763Longest Nice SubstringEasy
Prefix Sum13
- 303Range Sum Query - ImmutableEasy
- 304Range Sum Query 2D - ImmutableMedium
- 525Contiguous ArrayMedium
- 523Continuous Subarray SumMedium
- 724Find Pivot IndexEasy
- 974Subarray Sums Divisible by KMedium
- 1074Number of Submatrices That Sum to TargetHard
- 1109Corporate Flight BookingsMedium
- 1094Car PoolingMedium
- 238Product of Array Except SelfMedium
- 1314Matrix Block SumMedium
- 437Path Sum IIIMedium
- 930Binary Subarrays With SumMedium
Binary Search16
- 704Binary SearchEasy
- 74Search a 2D MatrixMedium
- 875Koko Eating BananasMedium
- 153Find Minimum in Rotated Sorted ArrayMedium
- 33Search in Rotated Sorted ArrayMedium
- 981Time Based Key-Value StoreMedium
- 4Median of Two Sorted ArraysHard
- 162Find Peak ElementMedium
- 35Search Insert PositionEasy
- 1011Capacity To Ship Packages Within D DaysMedium
- 410Split Array Largest SumHard
- 34Find First and Last Position of Element in Sorted ArrayMedium
- 378Kth Smallest Element in a Sorted MatrixMedium
- 540Single Element in a Sorted ArrayMedium
- 1482Minimum Number of Days to Make m BouquetsMedium
- 1283Find the Smallest Divisor Given a ThresholdMedium
Stack & Monotonic Stack16
- 20Valid ParenthesesEasy
- 155Min StackMedium
- 150Evaluate Reverse Polish NotationMedium
- 22Generate ParenthesesMedium
- 739Daily TemperaturesMedium
- 853Car FleetMedium
- 84Largest Rectangle in HistogramHard
- 496Next Greater Element IEasy
- 503Next Greater Element IIMedium
- 735Asteroid CollisionMedium
- 394Decode StringMedium
- 402Remove K DigitsMedium
- 71Simplify PathMedium
- 224Basic CalculatorHard
- 907Sum of Subarray MinimumsMedium
- 85Maximal RectangleHard
Linked List16
- 206Reverse Linked ListEasy
- 21Merge Two Sorted ListsEasy
- 143Reorder ListMedium
- 19Remove Nth Node From End of ListMedium
- 138Copy List with Random PointerMedium
- 2Add Two NumbersMedium
- 141Linked List CycleEasy
- 287Find the Duplicate NumberMedium
- 146LRU CacheMedium
- 23Merge k Sorted ListsHard
- 25Reverse Nodes in k-GroupHard
- 234Palindrome Linked ListEasy
- 876Middle of the Linked ListEasy
- 328Odd Even Linked ListMedium
- 148Sort ListMedium
- 61Rotate ListMedium
Intervals9
Trees & BST19
- 226Invert Binary TreeEasy
- 104Maximum Depth of Binary TreeEasy
- 543Diameter of Binary TreeEasy
- 110Balanced Binary TreeEasy
- 100Same TreeEasy
- 572Subtree of Another TreeEasy
- 235Lowest Common Ancestor of a Binary Search TreeMedium
- 102Binary Tree Level Order TraversalMedium
- 199Binary Tree Right Side ViewMedium
- 1448Count Good Nodes in Binary TreeMedium
- 98Validate Binary Search TreeMedium
- 230Kth Smallest Element in a BSTMedium
- 105Construct Binary Tree from Preorder and Inorder TraversalMedium
- 124Binary Tree Maximum Path SumHard
- 297Serialize and Deserialize Binary TreeHard
- 113Path Sum IIMedium
- 114Flatten Binary Tree to Linked ListMedium
- 236Lowest Common Ancestor of a Binary TreeMedium
- 103Binary Tree Zigzag Level Order TraversalMedium
Tries9
- 208Implement Trie (Prefix Tree)Medium
- 211Design Add and Search Words Data StructureMedium
- 212Word Search IIHard
- 648Replace WordsMedium
- 677Map Sum PairsMedium
- 720Longest Word in DictionaryMedium
- 1268Search Suggestions SystemMedium
- 421Maximum XOR of Two Numbers in an ArrayMedium
- 745Prefix and Suffix SearchHard
Heaps / Priority Queue14
- 703Kth Largest Element in a StreamEasy
- 1046Last Stone WeightEasy
- 973K Closest Points to OriginMedium
- 215Kth Largest Element in an ArrayMedium
- 621Task SchedulerMedium
- 355Design TwitterMedium
- 295Find Median from Data StreamHard
- 692Top K Frequent WordsMedium
- 767Reorganize StringMedium
- 480Sliding Window MedianHard
- 502IPOHard
- 451Sort Characters By FrequencyMedium
- 1337The K Weakest Rows in a MatrixEasy
- 1642Furthest Building You Can ReachMedium
Greedy16
- 53Maximum SubarrayMedium
- 55Jump GameMedium
- 45Jump Game IIMedium
- 134Gas StationMedium
- 846Hand of StraightsMedium
- 1899Merge Triplets to Form Target TripletMedium
- 763Partition LabelsMedium
- 678Valid Parenthesis StringMedium
- 135CandyHard
- 455Assign CookiesEasy
- 860Lemonade ChangeEasy
- 452Minimum Number of Arrows to Burst BalloonsMedium
- 122Best Time to Buy and Sell Stock IIMedium
- 1710Maximum Units on a TruckEasy
- 406Queue Reconstruction by HeightMedium
- 376Wiggle SubsequenceMedium
Backtracking16
- 78SubsetsMedium
- 39Combination SumMedium
- 46PermutationsMedium
- 90Subsets IIMedium
- 40Combination Sum IIMedium
- 79Word SearchMedium
- 131Palindrome PartitioningMedium
- 17Letter Combinations of a Phone NumberMedium
- 51N-QueensHard
- 37Sudoku SolverHard
- 93Restore IP AddressesMedium
- 77CombinationsMedium
- 47Permutations IIMedium
- 22Generate ParenthesesMedium
- 140Word Break IIHard
- 526Beautiful ArrangementMedium
Graphs (BFS/DFS)15
- 200Number of IslandsMedium
- 133Clone GraphMedium
- 695Max Area of IslandMedium
- 417Pacific Atlantic Water FlowMedium
- 130Surrounded RegionsMedium
- 994Rotting OrangesMedium
- 207Course ScheduleMedium
- 210Course Schedule IIMedium
- 684Redundant ConnectionMedium
- 127Word LadderHard
- 54201 MatrixMedium
- 934Shortest BridgeMedium
- 841Keys and RoomsMedium
- 1971Find if Path Exists in GraphEasy
- 785Is Graph Bipartite?Medium
Advanced Graphs11
- 743Network Delay TimeMedium
- 787Cheapest Flights Within K StopsMedium
- 1584Min Cost to Connect All PointsMedium
- 778Swim in Rising WaterHard
- 332Reconstruct ItineraryHard
- 1631Path With Minimum EffortMedium
- 1976Number of Ways to Arrive at DestinationMedium
- 1334Find the City With the Smallest Number of Neighbors at a Threshold DistanceMedium
- 1514Path with Maximum ProbabilityMedium
- 1192Critical Connections in a NetworkHard
- 1091Shortest Path in Binary MatrixMedium
Bit Manipulation15
- 136Single NumberEasy
- 191Number of 1 BitsEasy
- 338Counting BitsEasy
- 190Reverse BitsEasy
- 268Missing NumberEasy
- 371Sum of Two IntegersMedium
- 137Single Number IIMedium
- 260Single Number IIIMedium
- 78SubsetsMedium
- 201Bitwise AND of Numbers RangeMedium
- 231Power of TwoEasy
- 342Power of FourEasy
- 29Divide Two IntegersMedium
- 318Maximum Product of Word LengthsMedium
- 89Gray CodeMedium
1-D Dynamic Programming17
- 70Climbing StairsEasy
- 746Min Cost Climbing StairsEasy
- 198House RobberMedium
- 213House Robber IIMedium
- 5Longest Palindromic SubstringMedium
- 647Palindromic SubstringsMedium
- 91Decode WaysMedium
- 322Coin ChangeMedium
- 152Maximum Product SubarrayMedium
- 139Word BreakMedium
- 300Longest Increasing SubsequenceMedium
- 416Partition Equal Subset SumMedium
- 279Perfect SquaresMedium
- 377Combination Sum IVMedium
- 740Delete and EarnMedium
- 55Jump GameMedium
- 309Best Time to Buy and Sell Stock with CooldownMedium
2-D Dynamic Programming18
- 62Unique PathsMedium
- 63Unique Paths IIMedium
- 64Minimum Path SumMedium
- 1143Longest Common SubsequenceMedium
- 518Coin Change IIMedium
- 494Target SumMedium
- 97Interleaving StringMedium
- 72Edit DistanceMedium
- 115Distinct SubsequencesHard
- 312Burst BalloonsHard
- 10Regular Expression MatchingHard
- 44Wildcard MatchingHard
- 221Maximal SquareMedium
- 516Longest Palindromic SubsequenceMedium
- 123Best Time to Buy and Sell Stock IIIHard
- 188Best Time to Buy and Sell Stock IVHard
- 1463Cherry Pickup IIHard
- 174Dungeon GameHard
Math & Geometry17
- 48Rotate ImageMedium
- 54Spiral MatrixMedium
- 73Set Matrix ZeroesMedium
- 202Happy NumberEasy
- 66Plus OneEasy
- 50Pow(x, n)Medium
- 43Multiply StringsMedium
- 2013Detect SquaresMedium
- 168Excel Sheet Column TitleEasy
- 13Roman to IntegerEasy
- 12Integer to RomanMedium
- 69Sqrt(x)Easy
- 415Add StringsEasy
- 204Count PrimesMedium
- 7Reverse IntegerMedium
- 8String to Integer (atoi)Medium
- 65Valid NumberHard
Design & Simulation18
- 155Min StackMedium
- 146LRU CacheMedium
- 460LFU CacheHard
- 208Implement Trie (Prefix Tree)Medium
- 211Design Add and Search Words Data StructureMedium
- 295Find Median from Data StreamHard
- 355Design TwitterMedium
- 380Insert Delete GetRandom O(1)Medium
- 981Time Based Key-Value StoreMedium
- 706Design HashMapEasy
- 705Design HashSetEasy
- 1396Design Underground SystemMedium
- 1472Design Browser HistoryMedium
- 297Serialize and Deserialize Binary TreeHard
- 232Implement Queue using StacksEasy
- 225Implement Stack using QueuesEasy
- 622Design Circular QueueMedium
- 1146Snapshot ArrayMedium
A list this long is where motivation goes to die
303problems is about a year at one a day. Connect LeetCode and every solve ticks itself off, extends a streak, and fills the pattern map — including the ones you've already done.
Start your streak — ₹19