The LeetCode 75 Study Plan

LeetCode 75: the official study plan, seventy-five problems across twenty-two topic groups from array and string work up to monotonic stacks. Skewed easier than the Blind 75 and better as a first pass.

  • 75 problems
  • 22 Easy
  • 53 Medium
  • 0 Hard
  • 20 patterns

Where this list comes from

The LeetCode 75 is not ours. It is a published selection that people work through by name, and we reproduce it here by problem number, in the order the list itself uses. What we add is the solution: of the 75 entries below, 75 carry a complete Python solution with a worked example and its time and space complexity.

The published list names 75 entries. All 75 resolve to a problem in this library and are listed below.

Every count on this page is computed from what the page renders, so the number in a heading is the number of rows under it. Nothing is padded to make a title's number come out right — that would be wrong in a way anyone who knows the list would spot in seconds.

All 75 problems, grouped by pattern

Each group is the pattern that most specifically solves those problems, so the list can be worked through a technique at a time instead of a problem at a time. Groups appear in the order the list itself introduces them.

Two Pointers (9)

#ProblemDifficultyTopics
1768Merge Strings AlternatelyEasyTwo Pointers, String
345Reverse Vowels of a StringEasyTwo Pointers, String
151Reverse Words in a StringMediumTwo Pointers, String
443String CompressionMediumTwo Pointers, String
283Move ZeroesEasyArray, Two Pointers
392Is SubsequenceEasyTwo Pointers, String, Dynamic Programming
11Container With Most WaterMediumGreedy, Array, Two Pointers
1679Max Number of K-Sum PairsMediumArray, Hash Table, Two Pointers +1
2300Successful Pairs of Spells and PotionsMediumArray, Two Pointers, Binary Search +1

Math and Number Theory (1)

#ProblemDifficultyTopics
1071Greatest Common Divisor of StringsEasyMath, String

Other (1)

#ProblemDifficultyTopics
1431Kids With the Greatest Number of CandiesEasyArray

Greedy (5)

#ProblemDifficultyTopics
605Can Place FlowersEasyGreedy, Array
334Increasing Triplet SubsequenceMediumGreedy, Array
714Best Time to Buy and Sell Stock with Transaction FeeMediumGreedy, Array, Dynamic Programming
435Non-overlapping IntervalsMediumGreedy, Array, Dynamic Programming +1
452Minimum Number of Arrows to Burst BalloonsMediumGreedy, Array, Sorting

Prefix Sum (3)

#ProblemDifficultyTopics
238Product of Array Except SelfMediumArray, Prefix Sum
1732Find the Highest AltitudeEasyArray, Prefix Sum
724Find Pivot IndexEasyArray, Prefix Sum

Sliding Window (4)

#ProblemDifficultyTopics
643Maximum Average Subarray IEasyArray, Sliding Window
1456Maximum Number of Vowels in a Substring of Given LengthMediumString, Sliding Window
1004Max Consecutive Ones IIIMediumArray, Binary Search, Prefix Sum +1
1493Longest Subarray of 1's After Deleting One ElementMediumArray, Dynamic Programming, Sliding Window

Hash Map (2)

#ProblemDifficultyTopics
2215Find the Difference of Two ArraysEasyArray, Hash Table
1207Unique Number of OccurrencesEasyArray, Hash Table

Sorting (1)

#ProblemDifficultyTopics
1657Determine if Two Strings Are CloseMediumHash Table, String, Counting +1

Matrix and Grid (3)

#ProblemDifficultyTopics
2352Equal Row and Column PairsMediumArray, Hash Table, Matrix +1
1926Nearest Exit from Entrance in MazeMediumBreadth-First Search, Array, Matrix
994Rotting OrangesMediumBreadth-First Search, Array, Matrix

Stack (7)

#ProblemDifficultyTopics
2390Removing Stars From a StringMediumStack, String, Simulation
735Asteroid CollisionMediumStack, Array, Simulation
394Decode StringMediumStack, Recursion, String
933Number of Recent CallsEasyDesign, Queue, Data Stream
649Dota2 SenateMediumGreedy, Queue, String
739Daily TemperaturesMediumStack, Array, Monotonic Stack
901Online Stock SpanMediumStack, Design, Data Stream +1

Linked List (4)

#ProblemDifficultyTopics
2095Delete the Middle Node of a Linked ListMediumLinked List, Two Pointers
328Odd Even Linked ListMediumLinked List
206Reverse Linked ListEasyRecursion, Linked List
2130Maximum Twin Sum of a Linked ListMediumStack, Linked List, Two Pointers

Tree Traversal (10)

#ProblemDifficultyTopics
104Maximum Depth of Binary TreeEasyTree, Depth-First Search, Breadth-First Search +1
872Leaf-Similar TreesEasyTree, Depth-First Search, Binary Tree
1448Count Good Nodes in Binary TreeMediumTree, Depth-First Search, Breadth-First Search +1
437Path Sum IIIMediumTree, Depth-First Search, Binary Tree
1372Longest ZigZag Path in a Binary TreeMediumTree, Depth-First Search, Dynamic Programming +1
236Lowest Common Ancestor of a Binary TreeMediumTree, Depth-First Search, Binary Tree
199Binary Tree Right Side ViewMediumTree, Depth-First Search, Breadth-First Search +1
1161Maximum Level Sum of a Binary TreeMediumTree, Depth-First Search, Breadth-First Search +1
700Search in a Binary Search TreeEasyTree, Binary Search Tree, Binary Tree
450Delete Node in a BSTMediumTree, Binary Search Tree, Binary Tree

Breadth-First Search (2)

#ProblemDifficultyTopics
841Keys and RoomsMediumDepth-First Search, Breadth-First Search, Graph
1466Reorder Routes to Make All Paths Lead to the City ZeroMediumDepth-First Search, Breadth-First Search, Graph

Union-Find (2)

#ProblemDifficultyTopics
547Number of ProvincesMediumDepth-First Search, Breadth-First Search, Union Find +1
399Evaluate DivisionMediumDepth-First Search, Breadth-First Search, Union Find +4

Heap / Priority Queue (4)

#ProblemDifficultyTopics
215Kth Largest Element in an ArrayMediumArray, Divide and Conquer, Quickselect +2
2336Smallest Number in Infinite SetMediumDesign, Hash Table, Ordered Set +1
2542Maximum Subsequence ScoreMediumGreedy, Array, Sorting +1
2462Total Cost to Hire K WorkersMediumArray, Two Pointers, Simulation +1

Monotonic Stack (3)

#ProblemDifficultyTopics
374Guess Number Higher or LowerEasyBinary Search, Interactive
162Find Peak ElementMediumArray, Binary Search
875Koko Eating BananasMediumArray, Binary Search

Backtracking (2)

#ProblemDifficultyTopics
17Letter Combinations of a Phone NumberMediumHash Table, String, Backtracking
216Combination Sum IIIMediumArray, Backtracking

Dynamic Programming (7)

#ProblemDifficultyTopics
1137N-th Tribonacci NumberEasyMemoization, Math, Dynamic Programming
746Min Cost Climbing StairsEasyArray, Dynamic Programming
198House RobberMediumArray, Dynamic Programming
790Domino and Tromino TilingMediumDynamic Programming
62Unique PathsMediumMath, Dynamic Programming, Combinatorics
1143Longest Common SubsequenceMediumString, Dynamic Programming
72Edit DistanceMediumString, Dynamic Programming

Bit Manipulation (3)

#ProblemDifficultyTopics
338Counting BitsEasyBit Manipulation, Dynamic Programming
136Single NumberEasyBit Manipulation, Array
1318Minimum Flips to Make a OR b Equal to cMediumBit Manipulation

Trie (2)

#ProblemDifficultyTopics
208Implement Trie (Prefix Tree)MediumDesign, Trie, Hash Table +1
1268Search Suggestions SystemMediumTrie, Array, String +3

Or go by technique instead of by list: all LeetCode patterns · the full problem list.

The LeetCode 75 does not cover the problem you get asked

Stealth Interview is a desktop app for macOS and Windows. It reads the coding problem off your screen, returns a working solution with a step-by-step explanation and its time and space complexity, and transcribes what the interviewer is saying — while staying invisible to screen sharing.