THE PARETO
PROBLEM SET:
LEARN TO PASS 90% OF CODING INTERVIEWS
AND CONSISTENTLY SOLVE LEETCODE MEDIUMS
Hi, Iʼm Aman. I landed 6 high-paying internships at companies like Amazon, Shopify, and HP.
This is the LeetCode roadmap that I used to pass 10+ coding interviews and land a $168,000* job offer right
out of college.
I call it The Pareto Problem Set. If you learn to solve these problems in this order, you will be able to pass over
90% of coding interviews.
Even better, youʼll be able to do it faster than if you follow more comprehensive lists like The Blind 75 and The
NeetCode 150.
Enjoy!
ARRAYS & HASHING
17 Min Stack 27 Subtree of Another Tree
Contains Difficulty Difficulty
01 Duplicate
Difficulty
18 Daily Temperatures
28 Lowest Common Ancestor
of a Binary Search Tree
Valid Difficulty Difficulty
02 Anagram
Binary Tree Level Order
29
Difficulty
BINARY SEARCH Traversal
03
Difficulty
Two Sum
Binary Tree Right
19 30
Difficulty
Binary Search
Side View
Group Difficulty
04
Difficulty
Anagrams Find Minimum In Count Good Nodes In
20 31
Difficulty
Rotated Sorted Array Binary Tree
Top K Frequent Difficulty
05
Difficulty
Elements Validate Binary
Search In Rotated
21 32
Difficulty
Sorted Array Search Tree
Top K Frequent Difficulty
06
Difficulty
Elements
Kth Smallest Element
31
Difficulty
Product of Array LINKED LIST Difficulty In a Bst
07 Except Self
19
Difficulty
Reverse Linked List
Longest Consecutive HEAP / PRIORITY QUEUE
08
Difficulty
Sequence Merge Two Kth Largest Element
20
Difficulty
Sorted Lists 32 In a Stream
TWO POINTERS
Difficulty
Difficulty
21 Reorder List
33 Last Stone Weight
09 Difficulty
Valid Palindrome Difficulty
Difficulty
Remove Nth Node Kth Largest Element In
Two Sum II Input 22 From End of List 34 An Array
10 Difficulty
Array Is Sorted
Difficulty Difficulty
20 Linked List Cycle
11 3Sum Difficulty GRAPHS
Difficulty
Container With 21 LRU Cache
35 Number of Islands
12 Difficulty
Most Water
Difficulty
Difficulty
SLIDING WINDOW TREES 37 Difficulty
Max Area of Island
Best Time to Buy
13 And Sell Stock 22 Invert Binary Tree 38 Difficulty
Clone Graph
Difficulty Difficulty
Longest Substring Maximum Depth Pacific Atlantic
14 Without Repeating 23 Difficulty
of Binary Tree 39 Difficulty
Water Flow
Difficulty Characters
Diameter of
Longest Repeating 24 Binary Tree 40 Surrounded Regions
15 Difficulty
Character Replacement Difficulty Difficulty
STACK 25 Balanced Binary Tree 41 Difficulty
Course Schedule
Difficulty
16 Valid Parentheses 26 Same Tree 42 Difficulty
Course Schedule II
Difficulty Difficulty
*Location-Adjusted