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. | Status | Difficulty | Question |
|---|
| 1 | [x] | Easy | Two Sum |
| 2 | [x] | Easy | Contains Duplicate |
| 3 | [x] | Easy | Valid Anagram |
| 4 | [x] | Easy | Majority Element |
| 5 | [x] | Easy | Missing Number |
| 6 | [x] | Easy | Move Zeroes |
| 7 | [x] | Easy | Merge Sorted Array |
| 8 | [x] | Easy | Remove Duplicates from Sorted Array |
| 9 | [x] | Easy | Remove Element |
| 10 | [x] | Easy | Plus One |
| 11 | [x] | Easy | Find Pivot Index |
| 12 | [x] | Easy | Summary Ranges |
| 13 | [x] | Easy | Isomorphic Strings |
| 14 | [x] | Easy | Word Pattern |
| 15 | [x] | Easy | First Unique Character in a String |
| 16 | [x] | Easy | Ransom Note |
| 17 | [x] | Easy | Valid Palindrome |
| 18 | [x] | Easy | Length of Last Word |
| 19 | [x] | Easy | Add Strings |
| 20 | [x] | Easy | Fizz Buzz |
| 21 | [x] | Medium | Group Anagrams |
| 22 | [x] | Medium | Top K Frequent Elements |
| 23 | [x] | Medium | Product of Array Except Self |
| 24 | [x] | Medium | Longest Consecutive Sequence |
| 25 | [x] | Medium | Valid Sudoku |
| 26 | [r] | Medium | Encode and Decode Strings |
| 27 | [x] | Medium | Sort Colors |
| 28 | [x] | Medium | H-Index |
| 29 | [x] | Medium | Insert Delete GetRandom O(1) |
| 30 | [x] | Medium | Random Pick with Weight |
| 31 | [x] | Medium | Brick Wall |
| 32 | [ ] | Medium | Design HashMap |
| 33 | [ ] | Medium | Design HashSet |
| 34 | [x] | Medium | Subdomain Visit Count |
| 35 | [x] | Medium | Find and Replace Pattern |
| 36 | [x] | Medium | Custom Sort String |
| 37 | [x] | Medium | Minimum Index Sum of Two Lists |
| 38 | [r] | Medium | Contiguous Array |
| 39 | [x] | Medium | Maximum Size Subarray Sum Equals k |
| 40 | [x] | Medium | Subarray Sum Equals K |
Phase 2 — Two Pointers and Sliding Window
| No. | Status | Difficulty | Question |
|---|
| 41 | [x] | Easy | Squares of a Sorted Array |
| 42 | [x] | Easy | Reverse String |
| 43 | [x] | Easy | Reverse Vowels of a String |
| 44 | [x] | Easy | Backspace String Compare |
| 45 | [x] | Easy | Valid Palindrome II |
| 46 | [x] | Medium | 3Sum |
| 47 | [x] | Medium | 3Sum Closest |
| 48 | [x] | Medium | 4Sum |
| 49 | [x] | Medium | Container With Most Water |
| 50 | [ ] | Medium | Remove Duplicates from Sorted Array II |
| 51 | [ ] | Medium | Partition Labels |
| 52 | [ ] | Medium | Boats to Save People |
| 53 | [ ] | Medium | Longest Substring Without Repeating Characters |
| 54 | [ ] | Medium | Longest Repeating Character Replacement |
| 55 | [ ] | Medium | Permutation in String |
| 56 | [ ] | Medium | Find All Anagrams in a String |
| 57 | [ ] | Medium | Fruit Into Baskets |
| 58 | [ ] | Medium | Max Consecutive Ones III |
| 59 | [ ] | Medium | Maximum Points You Can Obtain from Cards |
| 60 | [ ] | Medium | Minimum Size Subarray Sum |
| 61 | [ ] | Hard | Minimum Window Substring |
| 62 | [ ] | Hard | Sliding Window Maximum |
| 63 | [ ] | Hard | Trapping Rain Water |
| 64 | [ ] | Hard | Shortest Subarray with Sum at Least K |
| 65 | [ ] | Hard | Minimum Number of K Consecutive Bit Flips |
Phase 3 — Prefix Sum, Difference Array, and Range Queries
| No. | Status | Difficulty | Question |
|---|
| 66 | [ ] | Easy | Range Sum Query - Immutable |
| 67 | [ ] | Easy | Find the Highest Altitude |
| 68 | [ ] | Easy | Running Sum of 1d Array |
| 69 | [ ] | Medium | Range Sum Query 2D - Immutable |
| 70 | [ ] | Medium | Product of the Last K Numbers |
| 71 | [ ] | Medium | Continuous Subarray Sum |
| 72 | [ ] | Medium | Corporate Flight Bookings |
| 73 | [ ] | Medium | Car Pooling |
| 74 | [ ] | Medium | Number of Submatrices That Sum to Target |
| 75 | [ ] | Medium | Find K-th Smallest Pair Distance |
| 76 | [ ] | Hard | Count of Smaller Numbers After Self |
| 77 | [ ] | Hard | Range Sum Query - Mutable |
| 78 | [ ] | Hard | Reverse Pairs |
| 79 | [ ] | Hard | Count of Range Sum |
| 80 | [ ] | Hard | Amount of New Area Painted Each Day |
Phase 4 — Sorting, Intervals, and Greedy Foundations
| No. | Status | Difficulty | Question |
|---|
| 81 | [ ] | Easy | Meeting Rooms |
| 82 | [ ] | Easy | Can Attend Meetings |
| 83 | [ ] | Easy | Assign Cookies |
| 84 | [ ] | Easy | Lemonade Change |
| 85 | [ ] | Medium | Merge Intervals |
| 86 | [ ] | Medium | Insert Interval |
| 87 | [ ] | Medium | Non-overlapping Intervals |
| 88 | [ ] | Medium | Meeting Rooms II |
| 89 | [ ] | Medium | Minimum Number of Arrows to Burst Balloons |
| 90 | [ ] | Medium | Task Scheduler |
| 91 | [ ] | Medium | Queue Reconstruction by Height |
| 92 | [ ] | Medium | Minimum Platforms |
| 93 | [ ] | Medium | Employee Free Time |
| 94 | [ ] | Medium | Partition Array into Disjoint Intervals |
| 95 | [ ] | Medium | Advantage Shuffle |
| 96 | [ ] | Medium | Gas Station |
| 97 | [ ] | Medium | Jump Game |
| 98 | [ ] | Medium | Jump Game II |
| 99 | [ ] | Medium | Maximum Length of Pair Chain |
| 100 | [ ] | Hard | Candy |
| 101 | [ ] | Hard | Minimum Number of Refueling Stops |
| 102 | [ ] | Hard | Create Maximum Number |
| 103 | [ ] | Hard | Minimum Cost to Hire K Workers |
| 104 | [ ] | Hard | Maximum Performance of a Team |
| 105 | [ ] | Hard | Course Schedule III |
Phase 5 — Matrix and Grid Problems
| No. | Status | Difficulty | Question |
|---|
| 106 | [ ] | Easy | Flood Fill |
| 107 | [ ] | Easy | Island Perimeter |
| 108 | [ ] | Easy | Reshape the Matrix |
| 109 | [ ] | Medium | Set Matrix Zeroes |
| 110 | [ ] | Medium | Spiral Matrix |
| 111 | [ ] | Medium | Spiral Matrix II |
| 112 | [ ] | Medium | Rotate Image |
| 113 | [ ] | Medium | Game of Life |
| 114 | [ ] | Medium | Search a 2D Matrix |
| 115 | [ ] | Medium | Search a 2D Matrix II |
| 116 | [ ] | Medium | Number of Islands |
| 117 | [ ] | Medium | Max Area of Island |
| 118 | [ ] | Medium | Surrounded Regions |
| 119 | [ ] | Medium | Pacific Atlantic Water Flow |
| 120 | [ ] | Medium | Rotting Oranges |
| 121 | [ ] | Medium | Walls and Gates |
| 122 | [ ] | Medium | Shortest Path in Binary Matrix |
| 123 | [ ] | Medium | The Maze |
| 124 | [ ] | Hard | Shortest Distance from All Buildings |
| 125 | [ ] | Hard | Longest Increasing Path in a Matrix |
| 126 | [ ] | Hard | Swim in Rising Water |
| 127 | [ ] | Hard | Making A Large Island |
| 128 | [ ] | Hard | Minimum Number of Days to Disconnect Island |
| 129 | [ ] | Hard | Cherry Pickup |
| 130 | [ ] | Hard | Cherry Pickup II |
Phase 6 — Stack, Monotonic Stack, Queue, and Deque
| No. | Status | Difficulty | Question |
|---|
| 131 | [ ] | Easy | Valid Parentheses |
| 132 | [ ] | Easy | Min Stack |
| 133 | [ ] | Easy | Implement Queue using Stacks |
| 134 | [ ] | Easy | Implement Stack using Queues |
| 135 | [ ] | Easy | Baseball Game |
| 136 | [ ] | Easy | Next Greater Element I |
| 137 | [ ] | Medium | Daily Temperatures |
| 138 | [ ] | Medium | Next Greater Element II |
| 139 | [ ] | Medium | Online Stock Span |
| 140 | [ ] | Medium | Remove K Digits |
| 141 | [ ] | Medium | Decode String |
| 142 | [ ] | Medium | Asteroid Collision |
| 143 | [ ] | Medium | Simplify Path |
| 144 | [ ] | Medium | Evaluate Reverse Polish Notation |
| 145 | [ ] | Medium | Basic Calculator II |
| 146 | [ ] | Medium | Design Circular Queue |
| 147 | [ ] | Medium | Design Circular Deque |
| 148 | [ ] | Medium | Number of Visible People in a Queue |
| 149 | [ ] | Hard | Largest Rectangle in Histogram |
| 150 | [ ] | Hard | Maximal Rectangle |
| 151 | [ ] | Hard | Basic Calculator |
| 152 | [ ] | Hard | Basic Calculator III |
| 153 | [ ] | Hard | Longest Valid Parentheses |
| 154 | [ ] | Hard | Dinner Plate Stacks |
| 155 | [ ] | Hard | Sum of Subarray Minimums |
Phase 7 — Linked List
| No. | Status | Difficulty | Question |
|---|
| 156 | [ ] | Easy | Reverse Linked List |
| 157 | [ ] | Easy | Merge Two Sorted Lists |
| 158 | [ ] | Easy | Linked List Cycle |
| 159 | [ ] | Easy | Palindrome Linked List |
| 160 | [ ] | Easy | Intersection of Two Linked Lists |
| 161 | [ ] | Easy | Remove Linked List Elements |
| 162 | [ ] | Medium | Add Two Numbers |
| 163 | [ ] | Medium | Remove Nth Node From End of List |
| 164 | [ ] | Medium | Reorder List |
| 165 | [ ] | Medium | Copy List with Random Pointer |
| 166 | [ ] | Medium | Linked List Cycle II |
| 167 | [ ] | Medium | Swap Nodes in Pairs |
| 168 | [ ] | Medium | Rotate List |
| 169 | [ ] | Medium | Partition List |
| 170 | [ ] | Medium | Sort List |
| 171 | [ ] | Medium | Odd Even Linked List |
| 172 | [ ] | Medium | Reverse Linked List II |
| 173 | [ ] | Medium | Flatten a Multilevel Doubly Linked List |
| 174 | [ ] | Hard | Merge k Sorted Lists |
| 175 | [ ] | Hard | Reverse Nodes in k-Group |
Phase 8 — Binary Search and Search-on-Answer
| No. | Status | Difficulty | Question |
|---|
| 176 | [ ] | Easy | Binary Search |
| 177 | [ ] | Easy | Search Insert Position |
| 178 | [ ] | Easy | First Bad Version |
| 179 | [ ] | Easy | Sqrt(x) |
| 180 | [ ] | Easy | Guess Number Higher or Lower |
| 181 | [ ] | Medium | Search in Rotated Sorted Array |
| 182 | [ ] | Medium | Search in Rotated Sorted Array II |
| 183 | [ ] | Medium | Find Minimum in Rotated Sorted Array |
| 184 | [ ] | Medium | Find Minimum in Rotated Sorted Array II |
| 185 | [ ] | Medium | Find First and Last Position of Element in Sorted Array |
| 186 | [ ] | Medium | Find Peak Element |
| 187 | [ ] | Medium | Koko Eating Bananas |
| 188 | [ ] | Medium | Capacity To Ship Packages Within D Days |
| 189 | [ ] | Medium | Split Array Largest Sum |
| 190 | [ ] | Medium | Find K Closest Elements |
| 191 | [ ] | Medium | Time Based Key-Value Store |
| 192 | [ ] | Medium | Search a 2D Matrix II |
| 193 | [ ] | Hard | Median of Two Sorted Arrays |
| 194 | [ ] | Hard | Find in Mountain Array |
| 195 | [ ] | Hard | Minimize Max Distance to Gas Station |
| 196 | [ ] | Hard | K-th Smallest Prime Fraction |
| 197 | [ ] | Hard | Smallest Distance Pair |
| 198 | [ ] | Hard | Maximum Number of Removable Characters |
| 199 | [ ] | Hard | Divide Chocolate |
| 200 | [ ] | Hard | Minimum Limit of Balls in a Bag |
Phase 9 — Heap and Priority Queue
| No. | Status | Difficulty | Question |
|---|
| 201 | [ ] | Easy | Last Stone Weight |
| 202 | [ ] | Easy | Kth Largest Element in a Stream |
| 203 | [ ] | Medium | Kth Largest Element in an Array |
| 204 | [ ] | Medium | Top K Frequent Words |
| 205 | [ ] | Medium | Find K Pairs with Smallest Sums |
| 206 | [ ] | Medium | K Closest Points to Origin |
| 207 | [ ] | Medium | Reorganize String |
| 208 | [ ] | Medium | Sort Characters By Frequency |
| 209 | [ ] | Medium | Single-Threaded CPU |
| 210 | [ ] | Medium | Process Tasks Using Servers |
| 211 | [ ] | Medium | Meeting Rooms II |
| 212 | [ ] | Medium | Design Twitter |
| 213 | [ ] | Medium | Maximum Subsequence Score |
| 214 | [ ] | Hard | Find Median from Data Stream |
| 215 | [ ] | Hard | Merge k Sorted Lists |
| 216 | [ ] | Hard | Sliding Window Median |
| 217 | [ ] | Hard | IPO |
| 218 | [ ] | Hard | The Skyline Problem |
| 219 | [ ] | Hard | Minimum Cost to Hire K Workers |
| 220 | [ ] | Hard | Trapping Rain Water II |
Phase 10 — Recursion and Backtracking
| No. | Status | Difficulty | Question |
|---|
| 221 | [ ] | Easy | Fibonacci Number |
| 222 | [ ] | Easy | Pascal's Triangle |
| 223 | [ ] | Easy | Power of Two |
| 224 | [ ] | Medium | Subsets |
| 225 | [ ] | Medium | Subsets II |
| 226 | [ ] | Medium | Permutations |
| 227 | [ ] | Medium | Permutations II |
| 228 | [ ] | Medium | Combinations |
| 229 | [ ] | Medium | Combination Sum |
| 230 | [ ] | Medium | Combination Sum II |
| 231 | [ ] | Medium | Combination Sum III |
| 232 | [ ] | Medium | Generate Parentheses |
| 233 | [ ] | Medium | Letter Combinations of a Phone Number |
| 234 | [ ] | Medium | Palindrome Partitioning |
| 235 | [ ] | Medium | Restore IP Addresses |
| 236 | [ ] | Medium | Word Search |
| 237 | [ ] | Medium | Beautiful Arrangement |
| 238 | [ ] | Medium | Matchsticks to Square |
| 239 | [ ] | Hard | N-Queens |
| 240 | [ ] | Hard | N-Queens II |
| 241 | [ ] | Hard | Sudoku Solver |
| 242 | [ ] | Hard | Expression Add Operators |
| 243 | [ ] | Hard | Word Search II |
| 244 | [ ] | Hard | Remove Invalid Parentheses |
| 245 | [ ] | Hard | Brace Expansion II |
Phase 11 — Binary Trees and BST
| No. | Status | Difficulty | Question |
|---|
| 246 | [ ] | Easy | Maximum Depth of Binary Tree |
| 247 | [ ] | Easy | Invert Binary Tree |
| 248 | [ ] | Easy | Same Tree |
| 249 | [ ] | Easy | Subtree of Another Tree |
| 250 | [ ] | Easy | Balanced Binary Tree |
| 251 | [ ] | Easy | Diameter of Binary Tree |
| 252 | [ ] | Easy | Path Sum |
| 253 | [ ] | Easy | Symmetric Tree |
| 254 | [ ] | Easy | Minimum Depth of Binary Tree |
| 255 | [ ] | Medium | Binary Tree Level Order Traversal |
| 256 | [ ] | Medium | Binary Tree Zigzag Level Order Traversal |
| 257 | [ ] | Medium | Binary Tree Right Side View |
| 258 | [ ] | Medium | Count Good Nodes in Binary Tree |
| 259 | [ ] | Medium | Validate Binary Search Tree |
| 260 | [ ] | Medium | Kth Smallest Element in a BST |
| 261 | [ ] | Medium | Lowest Common Ancestor of a Binary Search Tree |
| 262 | [ ] | Medium | Lowest Common Ancestor of a Binary Tree |
| 263 | [ ] | Medium | Construct Binary Tree from Preorder and Inorder Traversal |
| 264 | [ ] | Medium | Construct Binary Tree from Inorder and Postorder Traversal |
| 265 | [ ] | Medium | Flatten Binary Tree to Linked List |
| 266 | [ ] | Medium | Binary Search Tree Iterator |
| 267 | [ ] | Medium | Delete Node in a BST |
| 268 | [ ] | Medium | House Robber III |
| 269 | [ ] | Medium | Find Duplicate Subtrees |
| 270 | [ ] | Medium | All Nodes Distance K in Binary Tree |
| 271 | [ ] | Medium | Smallest Subtree with all the Deepest Nodes |
| 272 | [ ] | Medium | Step-By-Step Directions From a Binary Tree Node to Another |
| 273 | [ ] | Hard | Binary Tree Maximum Path Sum |
| 274 | [ ] | Hard | Serialize and Deserialize Binary Tree |
| 275 | [ ] | Hard | Recover Binary Search Tree |
| 276 | [ ] | Hard | Binary Tree Cameras |
| 277 | [ ] | Hard | Vertical Order Traversal of a Binary Tree |
| 278 | [ ] | Hard | Closest Binary Search Tree Value II |
| 279 | [ ] | Hard | Count Complete Tree Nodes |
| 280 | [ ] | Hard | Maximum Sum BST in Binary Tree |
Phase 12 — Trie and String Search
| No. | Status | Difficulty | Question |
|---|
| 281 | [ ] | Medium | Implement Trie |
| 282 | [ ] | Medium | Design Add and Search Words Data Structure |
| 283 | [ ] | Medium | Replace Words |
| 284 | [ ] | Medium | Map Sum Pairs |
| 285 | [ ] | Medium | Longest Word in Dictionary |
| 286 | [ ] | Medium | Stream of Characters |
| 287 | [ ] | Medium | Search Suggestions System |
| 288 | [ ] | Medium | Word Break |
| 289 | [ ] | Medium | Camelcase Matching |
| 290 | [ ] | Medium | Short Encoding of Words |
| 291 | [ ] | Hard | Word Search II |
| 292 | [ ] | Hard | Design Search Autocomplete System |
| 293 | [ ] | Hard | Palindrome Pairs |
| 294 | [ ] | Hard | Concatenated Words |
| 295 | [ ] | Hard | Longest Duplicate Substring |
Phase 13 — Graph BFS/DFS
| No. | Status | Difficulty | Question |
|---|
| 296 | [ ] | Easy | Find if Path Exists in Graph |
| 297 | [ ] | Easy | Find Center of Star Graph |
| 298 | [ ] | Medium | Clone Graph |
| 299 | [ ] | Medium | Number of Connected Components in an Undirected Graph |
| 300 | [ ] | Medium | Graph Valid Tree |
| 301 | [ ] | Medium | Course Schedule |
| 302 | [ ] | Medium | Course Schedule II |
| 303 | [ ] | Medium | Pacific Atlantic Water Flow |
| 304 | [ ] | Medium | Surrounded Regions |
| 305 | [ ] | Medium | Open the Lock |
| 306 | [ ] | Medium | Minimum Genetic Mutation |
| 307 | [ ] | Medium | Evaluate Division |
| 308 | [ ] | Medium | Keys and Rooms |
| 309 | [ ] | Medium | Possible Bipartition |
| 310 | [ ] | Medium | Is Graph Bipartite? |
| 311 | [ ] | Medium | Reorder Routes to Make All Paths Lead to the City Zero |
| 312 | [ ] | Medium | Find Eventual Safe States |
| 313 | [ ] | Medium | Shortest Path with Alternating Colors |
| 314 | [ ] | Hard | Word Ladder |
| 315 | [ ] | Hard | Word Ladder II |
| 316 | [ ] | Hard | Bus Routes |
| 317 | [ ] | Hard | Cat and Mouse |
| 318 | [ ] | Hard | Shortest Path Visiting All Nodes |
| 319 | [ ] | Hard | Robot Room Cleaner |
| 320 | [ ] | Hard | Shortest Path in a Grid with Obstacles Elimination |
Phase 14 — Topological Sort, Union Find, MST, and Shortest Path
| No. | Status | Difficulty | Question |
|---|
| 321 | [ ] | Medium | Redundant Connection |
| 322 | [ ] | Medium | Accounts Merge |
| 323 | [ ] | Medium | Satisfiability of Equality Equations |
| 324 | [ ] | Medium | Number of Provinces |
| 325 | [ ] | Medium | Most Stones Removed with Same Row or Column |
| 326 | [ ] | Medium | Regions Cut By Slashes |
| 327 | [ ] | Medium | Path With Minimum Effort |
| 328 | [ ] | Medium | Network Delay Time |
| 329 | [ ] | Medium | Cheapest Flights Within K Stops |
| 330 | [ ] | Medium | Min Cost to Connect All Points |
| 331 | [ ] | Medium | Find the Town Judge |
| 332 | [ ] | Medium | Minimum Height Trees |
| 333 | [ ] | Medium | Alien Dictionary |
| 334 | [ ] | Medium | Sequence Reconstruction |
| 335 | [ ] | Medium | Parallel Courses |
| 336 | [ ] | Hard | Critical Connections in a Network |
| 337 | [ ] | Hard | Reconstruct Itinerary |
| 338 | [ ] | Hard | Swim in Rising Water |
| 339 | [ ] | Hard | Number of Restricted Paths From First to Last Node |
| 340 | [ ] | Hard | Largest Color Value in a Directed Graph |
| 341 | [ ] | Hard | Find All People With Secret |
| 342 | [ ] | Hard | Minimum Cost to Make at Least One Valid Path in a Grid |
| 343 | [ ] | Hard | Checking Existence of Edge Length Limited Paths |
| 344 | [ ] | Hard | Rank Transform of a Matrix |
| 345 | [ ] | Hard | Parallel Courses III |
Phase 15 — Dynamic Programming: 1D, 2D, String, Interval
| No. | Status | Difficulty | Question |
|---|
| 346 | [ ] | Easy | Climbing Stairs |
| 347 | [ ] | Easy | Min Cost Climbing Stairs |
| 348 | [ ] | Easy | N-th Tribonacci Number |
| 349 | [ ] | Easy | Best Time to Buy and Sell Stock |
| 350 | [ ] | Medium | House Robber |
| 351 | [ ] | Medium | House Robber II |
| 352 | [ ] | Medium | Delete and Earn |
| 353 | [ ] | Medium | Coin Change |
| 354 | [ ] | Medium | Coin Change II |
| 355 | [ ] | Medium | Combination Sum IV |
| 356 | [ ] | Medium | Decode Ways |
| 357 | [ ] | Medium | Word Break |
| 358 | [ ] | Medium | Longest Increasing Subsequence |
| 359 | [ ] | Medium | Number of Longest Increasing Subsequence |
| 360 | [ ] | Medium | Maximum Product Subarray |
| 361 | [ ] | Medium | Maximum Subarray |
| 362 | [ ] | Medium | Partition Equal Subset Sum |
| 363 | [ ] | Medium | Target Sum |
| 364 | [ ] | Medium | Unique Paths |
| 365 | [ ] | Medium | Unique Paths II |
| 366 | [ ] | Medium | Minimum Path Sum |
| 367 | [ ] | Medium | Triangle |
| 368 | [ ] | Medium | Maximal Square |
| 369 | [ ] | Medium | Palindromic Substrings |
| 370 | [ ] | Medium | Longest Palindromic Substring |
| 371 | [ ] | Medium | Longest Palindromic Subsequence |
| 372 | [ ] | Medium | Longest Common Subsequence |
| 373 | [ ] | Medium | Uncrossed Lines |
| 374 | [ ] | Medium | Edit Distance |
| 375 | [ ] | Medium | Interleaving String |
| 376 | [ ] | Medium | Best Time to Buy and Sell Stock II |
| 377 | [ ] | Medium | Best Time to Buy and Sell Stock with Cooldown |
| 378 | [ ] | Medium | Best Time to Buy and Sell Stock with Transaction Fee |
| 379 | [ ] | Hard | Regular Expression Matching |
| 380 | [ ] | Hard | Wildcard Matching |
| 381 | [ ] | Hard | Distinct Subsequences |
| 382 | [ ] | Hard | Burst Balloons |
| 383 | [ ] | Hard | Minimum Cost to Cut a Stick |
| 384 | [ ] | Hard | Strange Printer |
| 385 | [ ] | Hard | Scramble String |
| 386 | [ ] | Hard | Paint House III |
| 387 | [ ] | Hard | Student Attendance Record II |
| 388 | [ ] | Hard | Count Vowels Permutation |
| 389 | [ ] | Hard | Profitable Schemes |
| 390 | [ ] | Hard | Number of Ways of Cutting a Pizza |
Phase 16 — Math, Bit Manipulation, and Number Theory
| No. | Status | Difficulty | Question |
|---|
| 391 | [ ] | Easy | Single Number |
| 392 | [ ] | Easy | Number of 1 Bits |
| 393 | [ ] | Easy | Counting Bits |
| 394 | [ ] | Easy | Power of Three |
| 395 | [ ] | Easy | Happy Number |
| 396 | [ ] | Easy | Roman to Integer |
| 397 | [ ] | Easy | Excel Sheet Column Number |
| 398 | [ ] | Easy | Palindrome Number |
| 399 | [ ] | Medium | Reverse Integer |
| 400 | [ ] | Medium | String to Integer (atoi) |
| 401 | [ ] | Medium | Pow(x, n) |
| 402 | [ ] | Medium | Divide Two Integers |
| 403 | [ ] | Medium | Multiply Strings |
| 404 | [ ] | Medium | Add Binary |
| 405 | [ ] | Medium | Fraction to Recurring Decimal |
| 406 | [ ] | Medium | Integer to Roman |
| 407 | [ ] | Medium | Angle Between Hands of a Clock |
| 408 | [ ] | Medium | Factorial Trailing Zeroes |
| 409 | [ ] | Medium | Bulb Switcher |
| 410 | [ ] | Medium | Sum of Two Integers |
| 411 | [ ] | Medium | Bitwise AND of Numbers Range |
| 412 | [ ] | Medium | Maximum XOR of Two Numbers in an Array |
| 413 | [ ] | Medium | Gray Code |
| 414 | [ ] | Medium | UTF-8 Validation |
| 415 | [ ] | Medium | Confusing Number |
| 416 | [ ] | Hard | Integer to English Words |
| 417 | [ ] | Hard | Basic Calculator |
| 418 | [ ] | Hard | Smallest Good Base |
| 419 | [ ] | Hard | Confusing Number II |
| 420 | [ ] | Hard | Self Crossing |
Phase 17 — Design Data Structures
| No. | Status | Difficulty | Question |
|---|
| 421 | [ ] | Easy | Design Parking System |
| 422 | [ ] | Easy | Logger Rate Limiter |
| 423 | [ ] | Easy | Moving Average from Data Stream |
| 424 | [ ] | Easy | Design Phone Directory |
| 425 | [ ] | Medium | LRU Cache |
| 426 | [ ] | Medium | LFU Cache |
| 427 | [ ] | Medium | Design Browser History |
| 428 | [ ] | Medium | Design Underground System |
| 429 | [ ] | Medium | Design Hit Counter |
| 430 | [ ] | Medium | Design Tic-Tac-Toe |
| 431 | [ ] | Medium | Design Snake Game |
| 432 | [ ] | Medium | Design File System |
| 433 | [ ] | Medium | Design In-Memory File System |
| 434 | [ ] | Medium | Design Compressed String Iterator |
| 435 | [ ] | Medium | RLE Iterator |
| 436 | [ ] | Medium | My Calendar I |
| 437 | [ ] | Medium | My Calendar II |
| 438 | [ ] | Medium | Snapshot Array |
| 439 | [ ] | Medium | Stock Price Fluctuation |
| 440 | [ ] | Medium | Design Authentication Manager |
| 441 | [ ] | Hard | All O`one Data Structure |
| 442 | [ ] | Hard | My Calendar III |
| 443 | [ ] | Hard | Design Search Autocomplete System |
| 444 | [ ] | Hard | Design Excel Sum Formula |
| 445 | [ ] | Hard | Design Movie Rental System |
Phase 18 — Mixed and Advanced Question
| No. | Status | Difficulty | Question |
|---|
| 446 | [ ] | Medium | Sentence Screen Fitting |
| 447 | [ ] | Medium | Expressive Words |
| 448 | [ ] | Medium | License Key Formatting |
| 449 | [ ] | Medium | Find and Replace in String |
| 450 | [ ] | Medium | Next Closest Time |
| 451 | [ ] | Medium | Odd Even Jump |
| 452 | [ ] | Medium | Maximize Distance to Closest Person |
| 453 | [ ] | Medium | Minimum Area Rectangle |
| 454 | [ ] | Medium | Invalid Transactions |
| 455 | [ ] | Medium | Minimum Remove to Make Valid Parentheses |
| 456 | [ ] | Medium | Synonymous Sentences |
| 457 | [ ] | Medium | Jump Game III |
| 458 | [ ] | Medium | Jump Game IV |
| 459 | [ ] | Medium | Minimum Difference Between Largest and Smallest Value in Three Moves |
| 460 | [ ] | Medium | Minimum Deletions to Make Character Frequencies Unique |
| 461 | [ ] | Medium | Buildings With an Ocean View |
| 462 | [ ] | Medium | Time Needed to Inform All Employees |
| 463 | [ ] | Medium | Longest String Chain |
| 464 | [ ] | Medium | Shortest Way to Form String |
| 465 | [ ] | Medium | String Transforms Into Another String |
| 466 | [ ] | Hard | Guess the Word |
| 467 | [ ] | Hard | Race Car |
| 468 | [ ] | Hard | K Empty Slots |
| 469 | [ ] | Hard | Minimum Area Rectangle II |
| 470 | [ ] | Hard | Brace Expansion II |
| 471 | [ ] | Hard | Robot Room Cleaner |
| 472 | [ ] | Hard | Cat and Mouse |
| 473 | [ ] | Hard | Longest Duplicate Substring |
| 474 | [ ] | Hard | Critical Connections in a Network |
| 475 | [ ] | Hard | Shortest Path in a Grid with Obstacles Elimination |
| 476 | [ ] | Hard | Minimum Knight Moves |
| 477 | [ ] | Hard | Leftmost Column with at Least a One |
| 478 | [ ] | Hard | Clone Binary Tree With Random Pointer |
| 479 | [ ] | Hard | Diameter of N-Ary Tree |
| 480 | [ ] | Hard | Number of Ways to Build Rooms in an Ant Colony |
| 481 | [ ] | Hard | Longest Path With Different Adjacent Characters |
| 482 | [ ] | Hard | Most Profitable Path in a Tree |
| 483 | [ ] | Hard | Count Subarrays With Fixed Bounds |
| 484 | [ ] | Hard | Maximum Number of Robots Within Budget |
| 485 | [ ] | Hard | Maximum 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. | Status | Question |
|---|
| 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. | Status | Question |
|---|
| 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. | Status | Question |
|---|
| 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. | Status | Question |
|---|
| 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. | Status | Question |
|---|
| 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. | Status | Question |
|---|
| 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
- Arrays + Hashing
- Two Pointers + Sliding Window
- Stack + Queue + Heap
- Binary Search
- Linked List
- Trees + BST
- Graph BFS/DFS
- Topological Sort + Union Find
- Dynamic Programming
- Design Data Structures
- mixed hard problems
- 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