Skip to main content

FAANG 30-Day

Pattern-match the 80% of FAANG questions that come from 20% of the canon.

By Alex Chen, Founder, InterviewChamp.AI · 30 problems · ~45h · difficulty: mixed · Last verified

  1. Day 1Two Sum(arrays)

    Hash-map gateway. Drill the 'complement = target - num' phrasing — you'll narrate it dozens of times this month.

  2. Single-pass running minimum. Second-most-asked array shape in real FAANG loops.

  3. Two pointers, shrink from the side with the shorter wall. Classic 'why do we move this pointer?' interview probe.

  4. Day 43Sum(arrays)

    Sort + fixed-anchor + two pointers. The first problem where you must articulate why O(n^2) is the floor.

  5. Prefix + suffix passes. Watch for the 'no division' constraint — it's the whole interview signal.

  6. Day 6Maximum Subarray(arrays)

    Kadane's algorithm. First DP-flavored problem; learn to say 'reset when running sum goes negative'.

  7. Day 7Valid Anagram(strings)

    Frequency-counter template. Reuse it on group-anagrams, ransom-note, find-all-anagrams.

  8. Sliding window with a set. Master the 'shrink left until valid' loop now — it powers 10+ string problems.

  9. Day 9Group Anagrams(strings)

    Sorted-string key OR character-count tuple. Pick one, defend the trade-off out loud.

  10. Expand-around-center. Hit the gotcha: each index spawns TWO centers (odd and even length).

  11. Day 11Reverse Linked List(linked-lists)

    Iterative prev/curr/next. Drill until you can write it eyes-closed — it's the substrate for every linked-list problem.

  12. Day 12Merge Two Sorted Lists(linked-lists)

    Dummy head + tail pointer. The dummy trick is the entire trick — name it explicitly to the interviewer.

  13. Day 13Reorder List(linked-lists)

    Three sub-routines: find middle, reverse second half, interleave. Each one is a problem you already solved.

  14. Recursive height. Warm-up: base = null returns 0, recurse = 1 + max(left, right).

  15. Day 15Invert Binary Tree(trees)

    Swap and recurse. Famous because Max Howell flunked it at Google — don't be Max.

  16. Carry (lo, hi) bounds down the recursion. The 'check each node against parent' shortcut is the wrong answer — interviewers test for that exact slip.

  17. BFS with a queue, snapshot the queue size at each level. First level-by-level pattern — you'll see it again in graphs.

  18. BST property = O(log n). Walk down: both values left? go left. Both right? go right. Otherwise current node IS the LCA.

  19. Day 19Number of Islands(graphs)

    Grid DFS with visited marking. The template for every 'count connected regions' problem you'll ever see.

  20. Day 20Clone Graph(graphs)

    Hash map old-node -> new-node, DFS through neighbors. The pattern: visited acts double-duty as the clone-lookup.

  21. Day 21Course Schedule(graphs)

    Topological sort via DFS-cycle-detection. Recognize the 'detect cycle in directed graph' shape — appears in every dependency-resolution interview.

  22. Day 22Valid Parentheses(stacks)

    Stack as a matcher. Push opens, pop+compare on close. The pattern that unlocks min-stack and daily-temperatures.

  23. Day 23Daily Temperatures(stacks)

    Monotonic decreasing stack. The unlock: store INDICES, not values, so you can compute the gap.

  24. Min-heap of size k. The trade vs quickselect is the whole interview conversation — be ready to defend both.

  25. Binary search where you compare mid to RIGHT, not target. First problem to break the 'binary search needs a target' mental model.

  26. Day 26Search in Rotated Sorted Array(binary-search)

    Decide which half is sorted, then check if target lives there. The branching is fiddly — write the four cases out loud.

  27. Day 27Koko Eating Bananas(binary-search)

    Binary search on the ANSWER, not an index. Once you see this once, you see it everywhere — capacity-to-ship, split-array-largest-sum, etc.

  28. Day 28Climbing Stairs(dynamic-programming)

    Fibonacci in disguise. Use this to practice naming the recurrence BEFORE writing code: f(n) = f(n-1) + f(n-2).

  29. Day 29Jump Game(dp-1d)

    Greedy: track the farthest reachable index. The DP solution exists but the greedy is the interview answer.

  30. 2D DP on intervals. Capstone for the month: you should now narrate state, transition, base, and answer-cell in under a minute.

Ready to drill these live?

Get the AI copilot in your ear during real interviews. Real-time transcription. Streaming answers. Post-call scorecard.

Download the desktop app →