DSA Question Checklist — Start to Finish

How to Use

  • Start from Phase 1 and move sequentially.
  • Mark every question with one of these states:
    • [ ] Not started
    • [~] Tried but not solved fully
    • [x] Solved cleanly
    • [r] Needs revision
  • focus more on explanation, edge cases, complexity, and clean code than memorizing answers.

Phase 1 — Arrays, Hashing, and Basic Strings

No.StatusDifficultyQuestion
1[x]EasyTwo Sum
2[x]EasyContains Duplicate
3[x]EasyValid Anagram
4[x]EasyMajority Element
5[x]EasyMissing Number
6[x]EasyMove Zeroes
7[x]EasyMerge Sorted Array
8[x]EasyRemove Duplicates from Sorted Array
9[x]EasyRemove Element
10[x]EasyPlus One
11[x]EasyFind Pivot Index
12[x]EasySummary Ranges
13[x]EasyIsomorphic Strings
14[x]EasyWord Pattern
15[x]EasyFirst Unique Character in a String
16[x]EasyRansom Note
17[x]EasyValid Palindrome
18[x]EasyLength of Last Word
19[x]EasyAdd Strings
20[x]EasyFizz Buzz
21[x]MediumGroup Anagrams
22[x]MediumTop K Frequent Elements
23[x]MediumProduct of Array Except Self
24[x]MediumLongest Consecutive Sequence
25[x]MediumValid Sudoku
26[r]MediumEncode and Decode Strings
27[x]MediumSort Colors
28[x]MediumH-Index
29[x]MediumInsert Delete GetRandom O(1)
30[x]MediumRandom Pick with Weight
31[x]MediumBrick Wall
32[ ]MediumDesign HashMap
33[ ]MediumDesign HashSet
34[x]MediumSubdomain Visit Count
35[x]MediumFind and Replace Pattern
36[x]MediumCustom Sort String
37[x]MediumMinimum Index Sum of Two Lists
38[r]MediumContiguous Array
39[x]MediumMaximum Size Subarray Sum Equals k
40[x]MediumSubarray Sum Equals K

Phase 2 — Two Pointers and Sliding Window

No.StatusDifficultyQuestion
41[x]EasySquares of a Sorted Array
42[x]EasyReverse String
43[x]EasyReverse Vowels of a String
44[x]EasyBackspace String Compare
45[x]EasyValid Palindrome II
46[x]Medium3Sum
47[x]Medium3Sum Closest
48[x]Medium4Sum
49[x]MediumContainer With Most Water
50[ ]MediumRemove Duplicates from Sorted Array II
51[ ]MediumPartition Labels
52[ ]MediumBoats to Save People
53[ ]MediumLongest Substring Without Repeating Characters
54[ ]MediumLongest Repeating Character Replacement
55[ ]MediumPermutation in String
56[ ]MediumFind All Anagrams in a String
57[ ]MediumFruit Into Baskets
58[ ]MediumMax Consecutive Ones III
59[ ]MediumMaximum Points You Can Obtain from Cards
60[ ]MediumMinimum Size Subarray Sum
61[ ]HardMinimum Window Substring
62[ ]HardSliding Window Maximum
63[ ]HardTrapping Rain Water
64[ ]HardShortest Subarray with Sum at Least K
65[ ]HardMinimum Number of K Consecutive Bit Flips

Phase 3 — Prefix Sum, Difference Array, and Range Queries

No.StatusDifficultyQuestion
66[ ]EasyRange Sum Query - Immutable
67[ ]EasyFind the Highest Altitude
68[ ]EasyRunning Sum of 1d Array
69[ ]MediumRange Sum Query 2D - Immutable
70[ ]MediumProduct of the Last K Numbers
71[ ]MediumContinuous Subarray Sum
72[ ]MediumCorporate Flight Bookings
73[ ]MediumCar Pooling
74[ ]MediumNumber of Submatrices That Sum to Target
75[ ]MediumFind K-th Smallest Pair Distance
76[ ]HardCount of Smaller Numbers After Self
77[ ]HardRange Sum Query - Mutable
78[ ]HardReverse Pairs
79[ ]HardCount of Range Sum
80[ ]HardAmount of New Area Painted Each Day

Phase 4 — Sorting, Intervals, and Greedy Foundations

No.StatusDifficultyQuestion
81[ ]EasyMeeting Rooms
82[ ]EasyCan Attend Meetings
83[ ]EasyAssign Cookies
84[ ]EasyLemonade Change
85[ ]MediumMerge Intervals
86[ ]MediumInsert Interval
87[ ]MediumNon-overlapping Intervals
88[ ]MediumMeeting Rooms II
89[ ]MediumMinimum Number of Arrows to Burst Balloons
90[ ]MediumTask Scheduler
91[ ]MediumQueue Reconstruction by Height
92[ ]MediumMinimum Platforms
93[ ]MediumEmployee Free Time
94[ ]MediumPartition Array into Disjoint Intervals
95[ ]MediumAdvantage Shuffle
96[ ]MediumGas Station
97[ ]MediumJump Game
98[ ]MediumJump Game II
99[ ]MediumMaximum Length of Pair Chain
100[ ]HardCandy
101[ ]HardMinimum Number of Refueling Stops
102[ ]HardCreate Maximum Number
103[ ]HardMinimum Cost to Hire K Workers
104[ ]HardMaximum Performance of a Team
105[ ]HardCourse Schedule III

Phase 5 — Matrix and Grid Problems

No.StatusDifficultyQuestion
106[ ]EasyFlood Fill
107[ ]EasyIsland Perimeter
108[ ]EasyReshape the Matrix
109[ ]MediumSet Matrix Zeroes
110[ ]MediumSpiral Matrix
111[ ]MediumSpiral Matrix II
112[ ]MediumRotate Image
113[ ]MediumGame of Life
114[ ]MediumSearch a 2D Matrix
115[ ]MediumSearch a 2D Matrix II
116[ ]MediumNumber of Islands
117[ ]MediumMax Area of Island
118[ ]MediumSurrounded Regions
119[ ]MediumPacific Atlantic Water Flow
120[ ]MediumRotting Oranges
121[ ]MediumWalls and Gates
122[ ]MediumShortest Path in Binary Matrix
123[ ]MediumThe Maze
124[ ]HardShortest Distance from All Buildings
125[ ]HardLongest Increasing Path in a Matrix
126[ ]HardSwim in Rising Water
127[ ]HardMaking A Large Island
128[ ]HardMinimum Number of Days to Disconnect Island
129[ ]HardCherry Pickup
130[ ]HardCherry Pickup II

Phase 6 — Stack, Monotonic Stack, Queue, and Deque

No.StatusDifficultyQuestion
131[ ]EasyValid Parentheses
132[ ]EasyMin Stack
133[ ]EasyImplement Queue using Stacks
134[ ]EasyImplement Stack using Queues
135[ ]EasyBaseball Game
136[ ]EasyNext Greater Element I
137[ ]MediumDaily Temperatures
138[ ]MediumNext Greater Element II
139[ ]MediumOnline Stock Span
140[ ]MediumRemove K Digits
141[ ]MediumDecode String
142[ ]MediumAsteroid Collision
143[ ]MediumSimplify Path
144[ ]MediumEvaluate Reverse Polish Notation
145[ ]MediumBasic Calculator II
146[ ]MediumDesign Circular Queue
147[ ]MediumDesign Circular Deque
148[ ]MediumNumber of Visible People in a Queue
149[ ]HardLargest Rectangle in Histogram
150[ ]HardMaximal Rectangle
151[ ]HardBasic Calculator
152[ ]HardBasic Calculator III
153[ ]HardLongest Valid Parentheses
154[ ]HardDinner Plate Stacks
155[ ]HardSum of Subarray Minimums

Phase 7 — Linked List

No.StatusDifficultyQuestion
156[ ]EasyReverse Linked List
157[ ]EasyMerge Two Sorted Lists
158[ ]EasyLinked List Cycle
159[ ]EasyPalindrome Linked List
160[ ]EasyIntersection of Two Linked Lists
161[ ]EasyRemove Linked List Elements
162[ ]MediumAdd Two Numbers
163[ ]MediumRemove Nth Node From End of List
164[ ]MediumReorder List
165[ ]MediumCopy List with Random Pointer
166[ ]MediumLinked List Cycle II
167[ ]MediumSwap Nodes in Pairs
168[ ]MediumRotate List
169[ ]MediumPartition List
170[ ]MediumSort List
171[ ]MediumOdd Even Linked List
172[ ]MediumReverse Linked List II
173[ ]MediumFlatten a Multilevel Doubly Linked List
174[ ]HardMerge k Sorted Lists
175[ ]HardReverse Nodes in k-Group

Phase 8 — Binary Search and Search-on-Answer

No.StatusDifficultyQuestion
176[ ]EasyBinary Search
177[ ]EasySearch Insert Position
178[ ]EasyFirst Bad Version
179[ ]EasySqrt(x)
180[ ]EasyGuess Number Higher or Lower
181[ ]MediumSearch in Rotated Sorted Array
182[ ]MediumSearch in Rotated Sorted Array II
183[ ]MediumFind Minimum in Rotated Sorted Array
184[ ]MediumFind Minimum in Rotated Sorted Array II
185[ ]MediumFind First and Last Position of Element in Sorted Array
186[ ]MediumFind Peak Element
187[ ]MediumKoko Eating Bananas
188[ ]MediumCapacity To Ship Packages Within D Days
189[ ]MediumSplit Array Largest Sum
190[ ]MediumFind K Closest Elements
191[ ]MediumTime Based Key-Value Store
192[ ]MediumSearch a 2D Matrix II
193[ ]HardMedian of Two Sorted Arrays
194[ ]HardFind in Mountain Array
195[ ]HardMinimize Max Distance to Gas Station
196[ ]HardK-th Smallest Prime Fraction
197[ ]HardSmallest Distance Pair
198[ ]HardMaximum Number of Removable Characters
199[ ]HardDivide Chocolate
200[ ]HardMinimum Limit of Balls in a Bag

Phase 9 — Heap and Priority Queue

No.StatusDifficultyQuestion
201[ ]EasyLast Stone Weight
202[ ]EasyKth Largest Element in a Stream
203[ ]MediumKth Largest Element in an Array
204[ ]MediumTop K Frequent Words
205[ ]MediumFind K Pairs with Smallest Sums
206[ ]MediumK Closest Points to Origin
207[ ]MediumReorganize String
208[ ]MediumSort Characters By Frequency
209[ ]MediumSingle-Threaded CPU
210[ ]MediumProcess Tasks Using Servers
211[ ]MediumMeeting Rooms II
212[ ]MediumDesign Twitter
213[ ]MediumMaximum Subsequence Score
214[ ]HardFind Median from Data Stream
215[ ]HardMerge k Sorted Lists
216[ ]HardSliding Window Median
217[ ]HardIPO
218[ ]HardThe Skyline Problem
219[ ]HardMinimum Cost to Hire K Workers
220[ ]HardTrapping Rain Water II

Phase 10 — Recursion and Backtracking

No.StatusDifficultyQuestion
221[ ]EasyFibonacci Number
222[ ]EasyPascal's Triangle
223[ ]EasyPower of Two
224[ ]MediumSubsets
225[ ]MediumSubsets II
226[ ]MediumPermutations
227[ ]MediumPermutations II
228[ ]MediumCombinations
229[ ]MediumCombination Sum
230[ ]MediumCombination Sum II
231[ ]MediumCombination Sum III
232[ ]MediumGenerate Parentheses
233[ ]MediumLetter Combinations of a Phone Number
234[ ]MediumPalindrome Partitioning
235[ ]MediumRestore IP Addresses
236[ ]MediumWord Search
237[ ]MediumBeautiful Arrangement
238[ ]MediumMatchsticks to Square
239[ ]HardN-Queens
240[ ]HardN-Queens II
241[ ]HardSudoku Solver
242[ ]HardExpression Add Operators
243[ ]HardWord Search II
244[ ]HardRemove Invalid Parentheses
245[ ]HardBrace Expansion II

Phase 11 — Binary Trees and BST

No.StatusDifficultyQuestion
246[ ]EasyMaximum Depth of Binary Tree
247[ ]EasyInvert Binary Tree
248[ ]EasySame Tree
249[ ]EasySubtree of Another Tree
250[ ]EasyBalanced Binary Tree
251[ ]EasyDiameter of Binary Tree
252[ ]EasyPath Sum
253[ ]EasySymmetric Tree
254[ ]EasyMinimum Depth of Binary Tree
255[ ]MediumBinary Tree Level Order Traversal
256[ ]MediumBinary Tree Zigzag Level Order Traversal
257[ ]MediumBinary Tree Right Side View
258[ ]MediumCount Good Nodes in Binary Tree
259[ ]MediumValidate Binary Search Tree
260[ ]MediumKth Smallest Element in a BST
261[ ]MediumLowest Common Ancestor of a Binary Search Tree
262[ ]MediumLowest Common Ancestor of a Binary Tree
263[ ]MediumConstruct Binary Tree from Preorder and Inorder Traversal
264[ ]MediumConstruct Binary Tree from Inorder and Postorder Traversal
265[ ]MediumFlatten Binary Tree to Linked List
266[ ]MediumBinary Search Tree Iterator
267[ ]MediumDelete Node in a BST
268[ ]MediumHouse Robber III
269[ ]MediumFind Duplicate Subtrees
270[ ]MediumAll Nodes Distance K in Binary Tree
271[ ]MediumSmallest Subtree with all the Deepest Nodes
272[ ]MediumStep-By-Step Directions From a Binary Tree Node to Another
273[ ]HardBinary Tree Maximum Path Sum
274[ ]HardSerialize and Deserialize Binary Tree
275[ ]HardRecover Binary Search Tree
276[ ]HardBinary Tree Cameras
277[ ]HardVertical Order Traversal of a Binary Tree
278[ ]HardClosest Binary Search Tree Value II
279[ ]HardCount Complete Tree Nodes
280[ ]HardMaximum Sum BST in Binary Tree

Phase 12 — Trie and String Search

No.StatusDifficultyQuestion
281[ ]MediumImplement Trie
282[ ]MediumDesign Add and Search Words Data Structure
283[ ]MediumReplace Words
284[ ]MediumMap Sum Pairs
285[ ]MediumLongest Word in Dictionary
286[ ]MediumStream of Characters
287[ ]MediumSearch Suggestions System
288[ ]MediumWord Break
289[ ]MediumCamelcase Matching
290[ ]MediumShort Encoding of Words
291[ ]HardWord Search II
292[ ]HardDesign Search Autocomplete System
293[ ]HardPalindrome Pairs
294[ ]HardConcatenated Words
295[ ]HardLongest Duplicate Substring

Phase 13 — Graph BFS/DFS

No.StatusDifficultyQuestion
296[ ]EasyFind if Path Exists in Graph
297[ ]EasyFind Center of Star Graph
298[ ]MediumClone Graph
299[ ]MediumNumber of Connected Components in an Undirected Graph
300[ ]MediumGraph Valid Tree
301[ ]MediumCourse Schedule
302[ ]MediumCourse Schedule II
303[ ]MediumPacific Atlantic Water Flow
304[ ]MediumSurrounded Regions
305[ ]MediumOpen the Lock
306[ ]MediumMinimum Genetic Mutation
307[ ]MediumEvaluate Division
308[ ]MediumKeys and Rooms
309[ ]MediumPossible Bipartition
310[ ]MediumIs Graph Bipartite?
311[ ]MediumReorder Routes to Make All Paths Lead to the City Zero
312[ ]MediumFind Eventual Safe States
313[ ]MediumShortest Path with Alternating Colors
314[ ]HardWord Ladder
315[ ]HardWord Ladder II
316[ ]HardBus Routes
317[ ]HardCat and Mouse
318[ ]HardShortest Path Visiting All Nodes
319[ ]HardRobot Room Cleaner
320[ ]HardShortest Path in a Grid with Obstacles Elimination

Phase 14 — Topological Sort, Union Find, MST, and Shortest Path

No.StatusDifficultyQuestion
321[ ]MediumRedundant Connection
322[ ]MediumAccounts Merge
323[ ]MediumSatisfiability of Equality Equations
324[ ]MediumNumber of Provinces
325[ ]MediumMost Stones Removed with Same Row or Column
326[ ]MediumRegions Cut By Slashes
327[ ]MediumPath With Minimum Effort
328[ ]MediumNetwork Delay Time
329[ ]MediumCheapest Flights Within K Stops
330[ ]MediumMin Cost to Connect All Points
331[ ]MediumFind the Town Judge
332[ ]MediumMinimum Height Trees
333[ ]MediumAlien Dictionary
334[ ]MediumSequence Reconstruction
335[ ]MediumParallel Courses
336[ ]HardCritical Connections in a Network
337[ ]HardReconstruct Itinerary
338[ ]HardSwim in Rising Water
339[ ]HardNumber of Restricted Paths From First to Last Node
340[ ]HardLargest Color Value in a Directed Graph
341[ ]HardFind All People With Secret
342[ ]HardMinimum Cost to Make at Least One Valid Path in a Grid
343[ ]HardChecking Existence of Edge Length Limited Paths
344[ ]HardRank Transform of a Matrix
345[ ]HardParallel Courses III

Phase 15 — Dynamic Programming: 1D, 2D, String, Interval

No.StatusDifficultyQuestion
346[ ]EasyClimbing Stairs
347[ ]EasyMin Cost Climbing Stairs
348[ ]EasyN-th Tribonacci Number
349[ ]EasyBest Time to Buy and Sell Stock
350[ ]MediumHouse Robber
351[ ]MediumHouse Robber II
352[ ]MediumDelete and Earn
353[ ]MediumCoin Change
354[ ]MediumCoin Change II
355[ ]MediumCombination Sum IV
356[ ]MediumDecode Ways
357[ ]MediumWord Break
358[ ]MediumLongest Increasing Subsequence
359[ ]MediumNumber of Longest Increasing Subsequence
360[ ]MediumMaximum Product Subarray
361[ ]MediumMaximum Subarray
362[ ]MediumPartition Equal Subset Sum
363[ ]MediumTarget Sum
364[ ]MediumUnique Paths
365[ ]MediumUnique Paths II
366[ ]MediumMinimum Path Sum
367[ ]MediumTriangle
368[ ]MediumMaximal Square
369[ ]MediumPalindromic Substrings
370[ ]MediumLongest Palindromic Substring
371[ ]MediumLongest Palindromic Subsequence
372[ ]MediumLongest Common Subsequence
373[ ]MediumUncrossed Lines
374[ ]MediumEdit Distance
375[ ]MediumInterleaving String
376[ ]MediumBest Time to Buy and Sell Stock II
377[ ]MediumBest Time to Buy and Sell Stock with Cooldown
378[ ]MediumBest Time to Buy and Sell Stock with Transaction Fee
379[ ]HardRegular Expression Matching
380[ ]HardWildcard Matching
381[ ]HardDistinct Subsequences
382[ ]HardBurst Balloons
383[ ]HardMinimum Cost to Cut a Stick
384[ ]HardStrange Printer
385[ ]HardScramble String
386[ ]HardPaint House III
387[ ]HardStudent Attendance Record II
388[ ]HardCount Vowels Permutation
389[ ]HardProfitable Schemes
390[ ]HardNumber of Ways of Cutting a Pizza

Phase 16 — Math, Bit Manipulation, and Number Theory

No.StatusDifficultyQuestion
391[ ]EasySingle Number
392[ ]EasyNumber of 1 Bits
393[ ]EasyCounting Bits
394[ ]EasyPower of Three
395[ ]EasyHappy Number
396[ ]EasyRoman to Integer
397[ ]EasyExcel Sheet Column Number
398[ ]EasyPalindrome Number
399[ ]MediumReverse Integer
400[ ]MediumString to Integer (atoi)
401[ ]MediumPow(x, n)
402[ ]MediumDivide Two Integers
403[ ]MediumMultiply Strings
404[ ]MediumAdd Binary
405[ ]MediumFraction to Recurring Decimal
406[ ]MediumInteger to Roman
407[ ]MediumAngle Between Hands of a Clock
408[ ]MediumFactorial Trailing Zeroes
409[ ]MediumBulb Switcher
410[ ]MediumSum of Two Integers
411[ ]MediumBitwise AND of Numbers Range
412[ ]MediumMaximum XOR of Two Numbers in an Array
413[ ]MediumGray Code
414[ ]MediumUTF-8 Validation
415[ ]MediumConfusing Number
416[ ]HardInteger to English Words
417[ ]HardBasic Calculator
418[ ]HardSmallest Good Base
419[ ]HardConfusing Number II
420[ ]HardSelf Crossing

Phase 17 — Design Data Structures

No.StatusDifficultyQuestion
421[ ]EasyDesign Parking System
422[ ]EasyLogger Rate Limiter
423[ ]EasyMoving Average from Data Stream
424[ ]EasyDesign Phone Directory
425[ ]MediumLRU Cache
426[ ]MediumLFU Cache
427[ ]MediumDesign Browser History
428[ ]MediumDesign Underground System
429[ ]MediumDesign Hit Counter
430[ ]MediumDesign Tic-Tac-Toe
431[ ]MediumDesign Snake Game
432[ ]MediumDesign File System
433[ ]MediumDesign In-Memory File System
434[ ]MediumDesign Compressed String Iterator
435[ ]MediumRLE Iterator
436[ ]MediumMy Calendar I
437[ ]MediumMy Calendar II
438[ ]MediumSnapshot Array
439[ ]MediumStock Price Fluctuation
440[ ]MediumDesign Authentication Manager
441[ ]HardAll O`one Data Structure
442[ ]HardMy Calendar III
443[ ]HardDesign Search Autocomplete System
444[ ]HardDesign Excel Sum Formula
445[ ]HardDesign Movie Rental System

Phase 18 — Mixed and Advanced Question

No.StatusDifficultyQuestion
446[ ]MediumSentence Screen Fitting
447[ ]MediumExpressive Words
448[ ]MediumLicense Key Formatting
449[ ]MediumFind and Replace in String
450[ ]MediumNext Closest Time
451[ ]MediumOdd Even Jump
452[ ]MediumMaximize Distance to Closest Person
453[ ]MediumMinimum Area Rectangle
454[ ]MediumInvalid Transactions
455[ ]MediumMinimum Remove to Make Valid Parentheses
456[ ]MediumSynonymous Sentences
457[ ]MediumJump Game III
458[ ]MediumJump Game IV
459[ ]MediumMinimum Difference Between Largest and Smallest Value in Three Moves
460[ ]MediumMinimum Deletions to Make Character Frequencies Unique
461[ ]MediumBuildings With an Ocean View
462[ ]MediumTime Needed to Inform All Employees
463[ ]MediumLongest String Chain
464[ ]MediumShortest Way to Form String
465[ ]MediumString Transforms Into Another String
466[ ]HardGuess the Word
467[ ]HardRace Car
468[ ]HardK Empty Slots
469[ ]HardMinimum Area Rectangle II
470[ ]HardBrace Expansion II
471[ ]HardRobot Room Cleaner
472[ ]HardCat and Mouse
473[ ]HardLongest Duplicate Substring
474[ ]HardCritical Connections in a Network
475[ ]HardShortest Path in a Grid with Obstacles Elimination
476[ ]HardMinimum Knight Moves
477[ ]HardLeftmost Column with at Least a One
478[ ]HardClone Binary Tree With Random Pointer
479[ ]HardDiameter of N-Ary Tree
480[ ]HardNumber of Ways to Build Rooms in an Ant Colony
481[ ]HardLongest Path With Different Adjacent Characters
482[ ]HardMost Profitable Path in a Tree
483[ ]HardCount Subarrays With Fixed Bounds
484[ ]HardMaximum Number of Robots Within Budget
485[ ]HardMaximum Segment Sum After Removals

Phase 19 — Mock Interview Practice Sets

Use these after completing the topic-wise list. Each set should be solved in 45 minutes without looking at hints.

Mock Set 1 — Easy/Medium Warmup

No.StatusQuestion
M1.1[ ]Two Sum
M1.2[ ]Valid Parentheses
M1.3[ ]Merge Intervals
M1.4[ ]Binary Tree Level Order Traversal
M1.5[ ]Number of Islands

Mock Set 2 — Intern Level

No.StatusQuestion
M2.1[ ]Longest Substring Without Repeating Characters
M2.2[ ]Product of Array Except Self
M2.3[ ]Course Schedule
M2.4[ ]Kth Largest Element in an Array
M2.5[ ]Word Break

Mock Set 3 — Backend/System-Oriented DSA

No.StatusQuestion
M3.1[ ]LRU Cache
M3.2[ ]Time Based Key-Value Store
M3.3[ ]Design Hit Counter
M3.4[ ]Random Pick with Weight
M3.5[ ]Task Scheduler

Mock Set 4 — Graph Focus

No.StatusQuestion
M4.1[ ]Clone Graph
M4.2[ ]Number of Connected Components in an Undirected Graph
M4.3[ ]Evaluate Division
M4.4[ ]Network Delay Time
M4.5[ ]Word Ladder

Mock Set 5 — DP Focus

No.StatusQuestion
M5.1[ ]Coin Change
M5.2[ ]Longest Increasing Subsequence
M5.3[ ]Decode Ways
M5.4[ ]Longest Common Subsequence
M5.5[ ]Edit Distance

Mock Set 6 — Hard Practice

No.StatusQuestion
M6.1[ ]Minimum Window Substring
M6.2[ ]Serialize and Deserialize Binary Tree
M6.3[ ]Median of Two Sorted Arrays
M6.4[ ]Critical Connections in a Network
M6.5[ ]Basic Calculator

Final Revision Order

  1. Arrays + Hashing
  2. Two Pointers + Sliding Window
  3. Stack + Queue + Heap
  4. Binary Search
  5. Linked List
  6. Trees + BST
  7. Graph BFS/DFS
  8. Topological Sort + Union Find
  9. Dynamic Programming
  10. Design Data Structures
  11. mixed hard problems
  12. 45-minute mock interviews

Important Note

Do not memorize solutions. For each question, you should be able to explain:

  • brute-force idea
  • optimized idea
  • why the data structure is used
  • edge cases
  • time complexity
  • space complexity
  • clean implementation