Skip to content

Problem Tracker & 2-Week Plan

About 5–7 problems a day (roughly 2.5–3 hours), with two revision days. Easy problems should take 15–20 minutes, so the days with more problems have more easy ones.

Day Focus Problems
1 Read: How to Approach, Complexity, Arrays & Hashing Two Sum, Contains Duplicate, Group Anagrams, Top K Frequent, Product Except Self
2 Arrays → Two Pointers Longest Consecutive, Subarray Sum Equals K, Maximum Subarray, Valid Palindrome, Two Sum II, 3Sum
3 Two Pointers & Sliding Window Container With Most Water, Trapping Rain Water, Best Time to Buy/Sell, Longest Substring w/o Repeating, Longest Repeating Char Replacement, Minimum Window Substring
4 Stack & Monotonic Stack Valid Parentheses, Min Stack, Queue using Stacks, Evaluate RPN, Next Greater Element I, Daily Temperatures, Largest Rectangle
5 Binary Search Binary Search, First & Last Position, Search 2D Matrix, Koko Eating Bananas, Find Min Rotated, Search Rotated
6 Linked List Reverse, Middle, Cycle, Merge Two Sorted, Remove Nth From End, Reorder List, LRU Cache
7 Revision + mock Redo every ⭐ problem from days 1–6 cold. Then one timed mock: 2 random problems in 45 min, talking out loud (record yourself).
8 Trees I Inorder Traversal (recursive + iterative), Invert, Max Depth, Diameter, Level Order, Right Side View
9 Trees II → Graphs Validate BST, Kth Smallest in BST, LCA, Serialize/Deserialize, Number of Islands, Clone Graph, Rotting Oranges
10 Graphs → Heap Course Schedule, Course Schedule II, Network Delay Time, Number of Provinces, Kth Largest, K Closest Points, Merge k Sorted Lists
11 Heap, Intervals, Greedy → Backtracking Find Median, Merge Intervals, Insert Interval, Non-overlapping Intervals, Jump Game, Jump Game II, Subsets
12 Backtracking → DP Permutations, Combination Sum, Generate Parentheses, Word Search, N-Queens, Climbing Stairs, House Robber
13 Dynamic Programming Coin Change, LIS, Unique Paths, LCS, Partition Equal Subset Sum, Word Break, Edit Distance
14 Revision + mock Redo every ⭐ from days 8–13. Two timed mocks (one Medium graph/tree, one Medium DP). Re-read every “Recognize it when” box.
  • Spaced repetition: redo each ⭐ problem 3 days later, then 7 days later.
  • Mixed practice: pick problems without knowing the pattern (LeetCode “random”, or a contest’s first 2 problems). Spotting the pattern yourself is what the interview actually tests.
  • Mock with a friend or use Pramp / interviewing.io. Being watched is a different skill from solving alone, and it’s the one that fixes fumbling under pressure.
  • Keep a mistakes log: one line per bug, like “forgot new ArrayList<>(path)” or “used a - b comparator and it overflowed”. Read it before every interview.