Technical Interview Prep Cheat Sheet

Technical interview preparation roadmap — data structures, algorithms, system design prep schedule, mock interview strategy, and recommended resources for FAANG a.

Last Updated: May 1, 2025

Study Roadmap (8 Weeks)

WeekFocusKey Topics
1-2Arrays & StringsTwo pointers, sliding window, prefix sum, hash maps
3-4Trees & GraphsBFS, DFS, binary trees, BSTs, graph traversal, topological sort
5Dynamic ProgrammingMemoization, tabulation, 1D/2D DP, knapsack, LCS, coin change
6Heaps & StacksPriority queues, monotonic stacks, top-K problems, interval problems
7System DesignScale estimation, database choice, API design, caching, microservices
8Mock Interviews2-3 mocks/week. Simulate real pressure. Record and review.

Problem-Solving Framework

ItemDescription
1. ClarifyRestate problem, ask about constraints, edge cases, input size
2. ExamplesWork through 2-3 examples — finds hidden assumptions
3. Brute ForceState the naive solution — shows you can solve it, establishes baseline
4. OptimizeImprove time/space complexity. Verbalize thinking process.
5. CodeClean, readable code. Handle edge cases. Use good variable names.
6. TestWalk through with examples. Test edge cases: empty, single, large, negative.
7. ComplexityState time and space complexity with reasoning.

Pattern Recognition

ItemDescription
Sliding WindowContiguous subarray/substring problems. Fixed or variable size.
Two PointersSorted arrays, palindrome, pair-sum. One from start, one from end.
BFS/DFSTrees, graphs, connected components, shortest path (unweighted).
Binary SearchSorted arrays, search space reduction. Also: binary search on answer.
Dynamic ProgrammingOptimal substructure + overlapping subproblems. Recognize: maximize/minimize + choices.
Hash MapCount frequency, find duplicates, two-sum, caching computed results.

Company-Specific Tips

ItemDescription
GoogleEmphasis on optimal solutions, clean code, system design depth. Expect 4-5 rounds.
MetaSpeed matters — 2 problems in 45 min. Product architecture + coding. Communication key.
AmazonLeadership Principles in every round. STAR method stories required. Bar raiser final round.
AppleDomain expertise valued. Deep dive into past projects. Hardware/software integration questions.
NetflixCulture deck matters — 'Freedom and Responsibility'. Senior-only hiring. Deep system design.
Pro Tip: Consistency beats intensity — 1 hour/day for 2 months outperforms cramming. Focus on patterns (not memorization): sliding window, two pointers, BFS/DFS, DP. Do 2-3 problems per pattern before moving on.