Coding Interview University 2027: The Software Engineering Interview Study Plan for the AI Era
Coding Interview University 2027 is a complete, ordered coding interview study plan for software engineers who want to pass technical interviews at big tech companies, startups and everything in between. It covers data structures and algorithms (DSA), system design, behavioral interviews, the new AI-assisted coding interview format, and offer negotiation, with week-by-week schedules (4-week crash course, 12-week standard plan, 6-month plan from scratch), checkbox topic lists, a mock interview routine and a short list of resources that are actually worth your time.
It is written for new grads, career switchers, bootcamp grads and experienced engineers who have not interviewed in a few years and want to know what changed.
Last reviewed: December 2026. Interview formats and company AI policies move quickly. Always read the prep material your recruiter sends you; it beats any guide, including this one.
Table of Contents
- How to Use This Playbook
- What a Modern Interview Loop Looks Like
- Pick Your Plan
- DSA Track: Topic Checklist
- The 16 Problem Patterns
- Python Interview Cheat Sheet
- How to Practice (So It Sticks)
- How to Talk Through a Coding Problem
- Mock Interview Routine
- System Design Track
- Behavioral Track
- Role-Specific Tracks
- The AI Era: AI Tools and Coding Interviews
- Offers and Negotiation Basics
- The Week Before and the Day Of
- Resources
- Best Picks at a Glance
- FAQ
- Where to Go Next
- Contributing
- More free resources
How to Use This Playbook
- Read What a Modern Interview Loop Looks Like so you know what you are training for.
- Pick one plan based on how much time you have and how rusty you are. Do not mix plans.
- Copy the checklists into your own notes (or fork this repo) and tick boxes as you go. The ticked boxes are your progress report.
- Practice out loud from week one. Silent grinding is the most common reason people who “did 400 problems” still fail.
- Book mocks early. A mock in week 2 that goes badly is cheap. A real interview that goes badly is not.
The honest rule of thumb: consistency beats volume. Ninety focused minutes a day for 12 weeks beats a weekend binge every time.
What a Modern Interview Loop Looks Like
Most software engineering hiring processes in 2026 still follow the same skeleton, even though details vary by company and level.
| Stage | Typical length | What is tested | Notes |
|---|---|---|---|
| Recruiter screen | 20-30 min | Motivation, logistics, level, salary range | Ask about the loop format and whether AI tools are allowed in any round |
| Online assessment (OA) | 60-90 min | 1-3 timed coding problems | Usually auto-graded; proctoring and AI-use rules are stated up front |
| Technical phone screen | 45-60 min | 1-2 coding problems with an engineer | Shared editor, often no code execution |
| Onsite / virtual loop | 4-6 rounds | Coding (2-3), system design (1-2 for mid-level and up), behavioral (1-2) | Some companies now include an AI-assisted coding or code-comprehension round |
| Team match / hiring manager | 30-60 min | Fit, interests, project scope | Common at large companies after the loop passes |
| Offer | - | Compensation | Negotiate; see Offers and Negotiation Basics |
By level, the weight shifts:
| Level | Coding | System design | Behavioral |
|---|---|---|---|
| Intern / new grad | Heaviest | Rare or very light | Light, project-focused |
| Mid-level (2-5 years) | Heavy | One round, practical | Medium |
| Senior | Medium | One or two rounds, deep | Heavy (scope, conflict, influence) |
| Staff and above | Lighter | Deep, ambiguous, cross-team | Heaviest (strategy, leadership) |
If you are senior or above, do not spend 90% of your time on LeetCode. The design and behavioral rounds usually decide your level.
Pick Your Plan
| Your situation | Plan |
|---|---|
| Interview is in 2-5 weeks and you already know the basics | 4-Week Crash Plan |
| You can code comfortably but DSA is rusty, 2-4 months out | 12-Week Standard Plan |
| You are new to programming or never studied CS fundamentals | 6-Month Plan From Scratch |
Daily time assumptions: crash plan 2-3 hours, standard plan 1.5-2 hours on weekdays plus a longer weekend session, from-scratch plan 1-2 hours a day.
Pick one language and stick with it. Python is the most common interview choice because it is short to write, but use whatever you are fastest and most accurate in. Know its standard library for lists, hash maps, sets, heaps, deques and sorting cold.
4-Week Crash Plan
Goal: cover the highest-frequency patterns, get comfortable talking while coding, and walk in with a ready set of stories. Expect about 60-80 problems total.
Week 1: Arrays, hashing, two pointers, sliding window
- Day 1: Big-O refresher; arrays and strings; 3 easy problems
- Day 2: Hash maps and sets (counting, lookups, grouping); 3 problems
- Day 3: Two pointers (sorted arrays, palindromes, pair sums); 3 problems
- Day 4: Sliding window (fixed and variable size); 3 problems
- Day 5: Prefix sums; 2 problems; redo one problem from day 2 without notes
- Day 6: Stacks (matching brackets, monotonic stack); 3 problems
- Day 7: First mock interview (45 min) + write 2 behavioral stories
Week 2: Binary search, linked lists, trees
- Day 8: Binary search, including “search on the answer”; 3 problems
- Day 9: Linked lists (reverse, merge, fast/slow pointers); 3 problems
- Day 10: Binary tree traversals (recursive and iterative); 3 problems
- Day 11: BST properties, lowest common ancestor, level order; 3 problems
- Day 12: Heaps and top-k; 3 problems
- Day 13: Review day: redo 5 problems you struggled with
- Day 14: Mock interview #2 + 2 more behavioral stories
Week 3: Graphs, backtracking, intervals
- Day 15: Graph representations; BFS and DFS on grids; 3 problems
- Day 16: BFS shortest path, multi-source BFS; 2 problems
- Day 17: Topological sort, cycle detection; 2 problems
- Day 18: Backtracking (subsets, permutations, combinations); 3 problems
- Day 19: Intervals (merge, insert, meeting rooms); 3 problems
- Day 20: Union-find; 2 problems
- Day 21: Mock interview #3 (graph or tree focus); system design primer if mid-level+
Week 4: Dynamic programming, review, polish
- Day 22: 1D DP (climbing stairs family, house robber family); 3 problems
- Day 23: 2D DP (grid paths, longest common subsequence); 2 problems
- Day 24: Knapsack-style DP and “DP on strings”; 2 problems
- Day 25: Mixed timed set: 2 mediums in 45 minutes
- Day 26: Mock interview #4; full behavioral run-through
- Day 27: Light review only: your mistake log and pattern cheat sheet
- Day 28: Rest. Sleep. Prepare logistics.
Senior candidates on this plan: swap days 5, 13 and 20 for system design practice sessions.
12-Week Standard Plan
Goal: real fluency across DSA, one solid system design track, and a polished behavioral story bank. Expect 150-200 problems, with a lot of repetition.
| Week | DSA focus | System design (mid-level+) | Behavioral | Mocks |
|---|---|---|---|---|
| 1 | Big-O, arrays, strings, hashing | Read about how the web works end to end | List 10 career moments worth a story | - |
| 2 | Two pointers, sliding window, prefix sums | Networking basics: DNS, HTTP, TLS, load balancers | Write 3 stories in STAR+L format | - |
| 3 | Stacks, queues, monotonic stack | Databases: SQL vs NoSQL, indexes, transactions | Write 3 more stories | Mock #1 (coding) |
| 4 | Binary search (incl. on the answer) | Caching: where, what, invalidation | Map stories to common questions | - |
| 5 | Linked lists, fast/slow pointers | Replication, partitioning, consistency | “Why this company” drafts | Mock #2 (coding) |
| 6 | Trees: traversals, recursion, BST | Queues, streams, async processing | Conflict and failure stories | - |
| 7 | Heaps, top-k, two-heap median | Design 1: URL shortener | Leadership and influence stories | Mock #3 (design) |
| 8 | Graphs: BFS, DFS, grids, topo sort | Design 2: news feed or chat | Tighten all stories to 2 minutes | Mock #4 (coding) |
| 9 | Backtracking, union-find, tries | Design 3: rate limiter or notification system | Practice follow-up questions | Mock #5 (behavioral) |
| 10 | Dynamic programming 1D and 2D | Design 4: file storage or video streaming | Record yourself, fix filler words | Mock #6 (design) |
| 11 | Intervals, greedy, bit manipulation, mixed review | Design 5: one from your target company’s domain | Final story bank review | Mock #7 and #8 |
| 12 | Timed mixed sets, mistake log only | Re-do your weakest design | Rest your voice | Mock #9 (full loop) |
Weekly rhythm for this plan:
- Monday to Thursday: 4-5 new problems on the week’s pattern, solved out loud.
- Friday: spaced-repetition day. Redo problems from 1, 3 and 7 days ago.
- Saturday: one mock or a timed set of 2 problems in 45 minutes; one system design session.
- Sunday: behavioral writing, light reading, rest.
6-Month Plan From Scratch
Goal: learn programming fundamentals and CS basics properly, then switch into the 12-week standard plan for the last three months. This is the plan for career switchers and anyone who never took a data structures course.
Month 1: Programming foundations
- Choose one language and finish a beginner course or book for it
- Variables, control flow, functions, recursion basics
- Built-in collections: lists/arrays, dictionaries/maps, sets, tuples
- Reading and writing files, string manipulation
- Write 3 small programs from scratch (a to-do CLI, a word counter, a tiny game)
- Solve 20 easy problems focused on loops and strings
Month 2: Core data structures and complexity
- Big-O notation: time and space, best/average/worst case
- Arrays and dynamic arrays (how appending is amortized O(1))
- Linked lists: implement singly and doubly linked lists yourself
- Stacks and queues: implement both, then use the standard library versions
- Hash tables: implement a toy one with chaining
- Solve 30 easy problems across these structures
Month 3: Trees, sorting, searching
- Recursion in depth: base cases, call stack, recursion trees
- Binary trees and all four traversals
- Binary search trees: insert, search, delete
- Heaps: implement sift-up and sift-down
- Sorting: implement insertion sort, merge sort, quicksort; know heap sort
- Binary search: implement it correctly with no off-by-one bugs
- Solve 20 easy and 10 medium problems
Months 4-6: Run the 12-Week Standard Plan
Because you built the foundations yourself, you will move faster through weeks 1-6 than someone who skipped them. Use the time saved for extra mocks.
DSA Track: Topic Checklist
Tick each item only when you can explain it to someone else and solve a medium problem using it without hints.
Foundations
- Big-O for time and space; amortized analysis at a high level
- Recognising complexity from constraints (n up to 10^5 usually means O(n log n) or better)
- Recursion and the call stack
- Iteration vs recursion trade-offs (stack depth limits)
- Integer overflow awareness (if your language has fixed-width integers)
Data structures
- Arrays and dynamic arrays
- Strings (immutability in your language, building strings efficiently)
- Hash maps and hash sets
- Linked lists (singly, doubly, dummy head trick)
- Stacks
- Queues and deques
- Binary trees
- Binary search trees
- Heaps / priority queues
- Tries
- Graphs (adjacency list, adjacency matrix, edge list)
- Union-find (disjoint set union) with path compression and union by rank
- Optional for some roles: segment trees, Fenwick trees, LRU cache internals
Algorithms
- Binary search (classic, lower/upper bound, search on answer)
- Sorting: merge sort, quicksort, heap sort, counting sort; stability
- Two pointers
- Sliding window
- Prefix sums and difference arrays
- BFS (including shortest path in unweighted graphs)
- DFS (including cycle detection and connected components)
- Topological sort (Kahn’s algorithm and DFS-based)
- Dijkstra’s shortest path
- Backtracking
- Greedy algorithms and when they fail
- Dynamic programming: memoization vs tabulation
- Bit manipulation basics (XOR tricks, masks, counting bits)
- Optional: minimum spanning tree (Kruskal, Prim), Bellman-Ford
Language fluency
- Sort with a custom key
- Use a min-heap and simulate a max-heap
- Use a deque as a queue
- Default dictionaries / counters (or the equivalent)
- Slicing, string joins, character arithmetic
- Write a class with methods quickly (for design-style coding questions like LRU cache)
The 16 Problem Patterns
Most interview problems are variations on a small set of patterns. Learn to spot the signal in the problem statement.
| # | Pattern | Signal in the problem | Typical complexity |
|---|---|---|---|
| 1 | Hash map lookup | “Find a pair”, “count occurrences”, “seen before” | O(n) |
| 2 | Two pointers | Sorted input, pairs, palindromes, in-place partition | O(n) |
| 3 | Sliding window | “Longest/shortest contiguous subarray/substring with property X” | O(n) |
| 4 | Prefix sum | “Sum of a range”, “subarray sum equals k” | O(n) |
| 5 | Monotonic stack | “Next greater/smaller element”, histogram areas | O(n) |
| 6 | Binary search | Sorted data, or “minimum value that satisfies a condition” | O(log n) or O(n log V) |
| 7 | Fast and slow pointers | Linked list cycles, middle of a list | O(n) |
| 8 | Tree DFS | Path sums, heights, validity checks | O(n) |
| 9 | Tree / graph BFS | Levels, shortest path in unweighted graph, “minimum steps” | O(V + E) |
| 10 | Top-k with a heap | “k largest”, “k closest”, “merge k sorted” | O(n log k) |
| 11 | Intervals | Overlaps, merges, meeting rooms | O(n log n) |
| 12 | Backtracking | “All combinations/permutations/subsets”, constraint puzzles | Exponential |
| 13 | Topological sort | Dependencies, course schedules, build order | O(V + E) |
| 14 | Union-find | Dynamic connectivity, “number of groups”, redundant edges | Near O(1) per op |
| 15 | Dynamic programming | “Number of ways”, “min/max cost”, overlapping subproblems | Usually O(n) to O(n^2) |
| 16 | Trie | Prefix search, word dictionaries, autocomplete | O(length of word) |
How to drill patterns: for each pattern, solve 3 problems in a row, then mix it into random practice a week later. If you cannot name the pattern within 2-3 minutes of reading a problem, that pattern needs more reps.
Python Interview Cheat Sheet
Python is the most common interview language because the standard library covers almost every structure you need. This snippet runs as-is on Python 3.9+ and shows the idioms interviewers see most often.
from collections import Counter, defaultdict, deque
import heapq, bisect
from functools import cache
# Counting and grouping
counts = Counter("banana") # Counter({'a': 3, 'n': 2, 'b': 1})
top2 = counts.most_common(2) # [('a', 3), ('n', 2)]
groups = defaultdict(list)
for word in ["eat", "tea", "tan"]:
groups["".join(sorted(word))].append(word) # {'aet': ['eat', 'tea'], 'ant': ['tan']}
# Queue and stack
q = deque([1, 2]); q.append(3); first = q.popleft() # first == 1
stack = [1, 2]; stack.append(3); top = stack.pop() # top == 3
# Heaps (min-heap; negate for max-heap)
h = []
for x in [5, 1, 4]:
heapq.heappush(h, x)
smallest = heapq.heappop(h) # 1
k_largest = heapq.nlargest(2, [5, 1, 4]) # [5, 4]
# Sorting with keys
people = [("ana", 31), ("bo", 25)]
by_age = sorted(people, key=lambda p: p[1]) # [('bo', 25), ('ana', 31)]
by_age_desc_then_name = sorted(people, key=lambda p: (-p[1], p[0]))
# Binary search on a sorted list
a = [1, 3, 3, 5]
left = bisect.bisect_left(a, 3) # 1 (first index of 3)
right = bisect.bisect_right(a, 3) # 3 (one past the last 3)
# Memoized recursion (top-down DP)
@cache
def ways(n):
return 1 if n <= 1 else ways(n - 1) + ways(n - 2)
# ways(10) == 89
# Grids
grid = [[0] * 3 for _ in range(2)] # never [[0] * 3] * 2 (shared rows)
DIRS = [(1, 0), (-1, 0), (0, 1), (0, -1)]
# Infinity and integer division
INF = float("inf")
mid = (0 + 9) // 2 # 4
| Need | Python tool | Cost |
|---|---|---|
| Hash map / counting | dict, Counter, defaultdict |
O(1) average per operation |
| Queue (BFS) | collections.deque with append / popleft |
O(1) |
| Stack | list with append / pop |
O(1) |
| Priority queue | heapq (min-heap) |
O(log n) push and pop |
| Sorted insert / search | bisect on a sorted list |
O(log n) search, O(n) insert |
| Memoization | functools.cache |
One computation per distinct argument |
Common Python traps in interviews: list.pop(0) is O(n); [[0] * m] * n shares one row n times; default mutable arguments (def f(x=[])) persist between calls; recursion deeper than about 1000 frames raises RecursionError.
How to Practice (So It Sticks)
The 25-minute rule
- Read the problem and restate it in your own words (2 min).
- Work through 2 examples by hand, including an edge case (3 min).
- Write the brute-force idea and its complexity (2 min).
- Look for the better approach, naming the pattern (up to 10 min).
- If you are stuck at the 25-minute mark, read only the first hint or the approach summary, not the code. Then try again.
- If you still cannot solve it, study the solution, close it, and write it yourself from memory.
Keep a mistake log
One line per problem you struggled with:
| Date | Problem | Pattern | What I missed | Redo on |
|---|---|---|---|---|
| 2026-12-01 | Longest substring without repeats | Sliding window | Forgot to move left pointer past the duplicate | 12-04, 12-08 |
Redo every logged problem after 1, 3 and 7 days. The log is the most valuable study artifact you will create; review it the night before every interview.
Quality over quantity
- Solving 150 problems with spaced repetition beats solving 500 once.
- Always code the full solution, not just the idea. Bugs live in the details.
- Test by hand: walk through your code with a small input line by line before running it.
- After solving, ask: can I reduce space? Is there a simpler version? What are the edge cases (empty input, one element, duplicates, negatives, very large values)?
Practice in interview conditions
- At least half your sessions should be in a plain editor or shared doc without autocomplete or AI suggestions, because many rounds still look like that.
- Time yourself. A typical medium should take 20-30 minutes including explanation.
- Talk out loud even when alone. It feels strange for about a week.
How to Talk Through a Coding Problem
Interviewers grade more than the final code. A common rubric looks at problem solving, coding, verification and communication. Use this script:
- Clarify. “Can the input be empty? Can values be negative? Is the array sorted? How large can n get?”
- Example. Write a small example and the expected output. Agree on it.
- Brute force. “The simple way is to check every pair, which is O(n^2).” Saying this shows you understand the problem.
- Optimise. Name the bottleneck and the pattern that removes it. “We repeatedly search for a complement, so a hash map makes that O(1).”
- Confirm before coding. “I’ll go with the hash map approach, O(n) time and O(n) space. Sound good?”
- Code cleanly. Good names, small helper functions, no clever one-liners you cannot explain.
- Test. Walk through your example, then an edge case. Fix bugs calmly and say what you are checking.
- Analyse. State final time and space complexity and mention trade-offs or follow-ups.
When you are stuck: say what you have tried and why it fails. Interviewers can only help if they know where you are. Silence is the real failure mode.
Mock Interview Routine
Mocks are where preparation turns into performance. Aim for at least 6 mocks on the 12-week plan and 3-4 on the crash plan.
Where to get mocks
- A friend or colleague who has interviewed others (swap roles; you learn a lot as the interviewer)
- Peer mock platforms and paid mock services (see Resources)
- Study groups or local meetups
- Self-mock: record yourself on video solving a fresh problem with a 45-minute timer, then watch it back
A 45-minute coding mock format
| Minute | Activity |
|---|---|
| 0-3 | Interviewer introduces the problem |
| 3-10 | Clarifying questions and approach discussion |
| 10-35 | Coding while narrating |
| 35-40 | Testing and complexity |
| 40-45 | Follow-up question or variation |
Feedback form (use it every time)
- Did I clarify inputs and edge cases before coding?
- Did I state a brute force before optimising?
- Did I get buy-in on the approach before coding?
- Was my code readable without explanation?
- Did I test with a real example, line by line?
- Did I state complexity correctly?
- Did I stay talkative when stuck?
- Score each of problem solving, coding, testing, communication from 1 to 4
Track scores over time. When all four are consistently 3 or above in mocks with strangers, you are ready.
System Design Track
System design rounds are open-ended conversations about building a large system. They are usually required for mid-level roles and up, and they weigh heavily in levelling.
Concepts checklist
- Client-server model, request lifecycle, DNS, CDNs
- HTTP, REST, gRPC, WebSockets, long polling
- Load balancing (L4 vs L7, algorithms, health checks)
- Horizontal vs vertical scaling, stateless services
- Caching layers (client, CDN, application, database); cache-aside, write-through, eviction policies
- Relational databases: schema design, indexes, transactions, isolation levels
- NoSQL families: key-value, document, wide-column, graph; when to pick which
- Replication (leader-follower, multi-leader, leaderless)
- Partitioning / sharding and hot keys
- Consistency models; CAP and PACELC at a conversational level
- Message queues and event streams; at-least-once delivery and idempotency
- Rate limiting algorithms (token bucket, sliding window)
- Unique ID generation
- Object storage and blob handling
- Search indexes at a high level
- Observability: metrics, logs, traces, alerting
- Back-of-the-envelope estimation (QPS, storage, bandwidth)
- AI-era additions: serving an LLM-backed feature, caching model responses, rate-limiting expensive inference, retrieval with a vector index, cost per request
A repeatable answer structure (45-60 minutes)
| Step | Time | What you do |
|---|---|---|
| 1. Requirements | 5-8 min | Functional requirements (what it does) and non-functional ones (scale, latency, availability, consistency). Agree on scope. |
| 2. Estimates | 3-5 min | Users, requests per second, read/write ratio, storage per year. Only as deep as it changes decisions. |
| 3. API | 3-5 min | The main endpoints or events with inputs and outputs. |
| 4. Data model | 5 min | Core entities, keys and which store holds them. |
| 5. High-level design | 10 min | Boxes and arrows: clients, gateway, services, stores, queues, caches. Walk one request through it. |
| 6. Deep dives | 15-20 min | Pick the 2-3 hardest parts (feed fan-out, hot partitions, consistency of payments) and go deep. Let the interviewer steer. |
| 7. Wrap-up | 3-5 min | Bottlenecks, failure modes, monitoring, what you would do with more time. |
Practice problem ladder
Work through these in order. For each one, write a one-page design, then compare against a reference solution and note what you missed.
- URL shortener
- Paste bin / text sharing
- Rate limiter
- Key-value store
- Notification system
- News feed
- Chat / messaging app
- Web crawler
- Typeahead / autocomplete
- File storage and sync
- Video upload and streaming
- Ride-hailing or food delivery dispatch
- Ticket booking with limited inventory
- Distributed job scheduler
- Payment system (idempotency and ledgers)
- An LLM-backed chat assistant with retrieval, usage limits and cost controls
Common system design mistakes
- Jumping to a diagram before agreeing on requirements
- Naming technologies instead of explaining properties (“use Kafka” vs “we need a durable, ordered, replayable log”)
- Ignoring the read/write ratio
- Designing everything at the same depth instead of going deep where it matters
- Forgetting failure: what happens when this box dies?
- Not stating trade-offs. Every choice has a cost; say it.
Behavioral Track
Behavioral interviews check whether you will be effective on a real team: ownership, collaboration, judgment under ambiguity, and growth. At senior levels they often decide the outcome.
Build a story bank
Write 8-12 stories from your real experience. Each story should be usable for several questions. Use STAR+L:
- Situation: one or two sentences of context.
- Task: what you were responsible for.
- Action: what you did (say “I”, not “we”), with the reasoning behind decisions.
- Result: measurable outcome where possible (latency down 40%, launch on time, incidents halved).
- Learning: what you would do differently or now do by default.
Keep each story to about 2 minutes spoken, with details ready for follow-ups.
Story coverage checklist
- A project you are most proud of (technical depth)
- A conflict with a teammate or another team
- A time you disagreed with your manager or a decision
- A failure or mistake and what you changed afterwards
- A time you had to deliver with unclear requirements
- A time you influenced without authority
- A time you mentored or unblocked someone
- A tight deadline and a trade-off you made
- A time you improved a process or tool for the team
- A time you received tough feedback
- Learning something new quickly
- (Senior+) Setting technical direction across teams
Question-to-story map
| Question you hear | Story to use |
|---|---|
| “Tell me about a challenging project.” | Most proud project |
| “Tell me about a time you disagreed with someone.” | Conflict or disagreement with manager |
| “Tell me about a time you failed.” | Failure story, focus on the Learning |
| “How do you handle ambiguity?” | Unclear requirements |
| “Tell me about a time you led without authority.” | Influence story |
| “Why do you want to work here?” | Prepared per company: product, team, mission, your skills |
Company values
Some companies publish their values or principles and build behavioral questions around them, for example Amazon’s Leadership Principles. Read the target company’s careers pages and tag each story with the values it demonstrates.
Behavioral red flags to avoid
- Blaming others without owning your part
- Stories where “we” did everything and your role is unclear
- No result, or a result that cannot be checked
- Rambling past 4 minutes without a point
- Sharing confidential details from a past employer
Role-Specific Tracks
The core plan fits most software engineering roles. Adjust the mix for your target role:
| Role | Add to the core plan | Lighter on |
|---|---|---|
| New grad / intern | Extra DSA reps, one project you can explain deeply, basic object-oriented design | System design (rarely a full round) |
| Backend | Databases, caching, queues, API design, concurrency basics | Frontend frameworks |
| Frontend | JavaScript fundamentals (closures, event loop, promises), DOM manipulation, building UI components live, web performance, accessibility, frontend system design | Graph-heavy DSA |
| Mobile | Platform lifecycle, offline storage and sync, app architecture patterns, performance and battery | Large-scale distributed systems |
| Machine learning / AI engineer | ML fundamentals, evaluation metrics, ML system design (data, training, serving, monitoring), LLM application design (retrieval, prompt and tool design, evaluation, cost) | Hard competitive-style DSA |
| Site reliability / infrastructure | Linux, networking, troubleshooting scenarios, incident response, monitoring, capacity planning | Puzzle-style DSA |
| Engineering manager | People management stories, delivery and planning, hiring, conflict resolution; still some system design | Coding (often one lighter round) |
Useful role-specific starting points:
- Frontend: the free Front End Interview Handbook.
- Machine learning: the free Machine Learning Interviews Book by Chip Huyen.
- Infrastructure and reliability: Google’s free Site Reliability Engineering books.
Read the company’s own interview guide
Several large employers publish official descriptions of their process. Read these before anything a third party says:
- Google: how we hire
- Amazon: the interview loop and Leadership Principles
- Your recruiter’s prep email: it often links an internal guide with the exact format and rules for AI tools.
The AI Era: AI Tools and Coding Interviews
This is the biggest change to technical interviews in years, and the rules are not the same everywhere. The safest default is simple: assume no AI assistance during an interview unless the company tells you, in writing, that it is allowed.
What has changed (as of December 2026)
- Some companies now run interview rounds where an AI assistant is allowed or expected. Publicly reported examples:
- Canva wrote in June 2025 that it expects engineering candidates to use AI coding tools in some technical interviews, and redesigned questions around that (Canva engineering blog).
- Meta was widely reported in 2025 to be piloting an AI-enabled coding round for some candidates, run in a shared coding environment with a built-in assistant. It is reported as one round of the loop, not a blanket permission.
- Google was reported in May 2026 to be piloting a round for some software engineering roles where candidates may use an approved AI assistant during a code-comprehension style interview.
- Other companies explicitly forbid it. For example, Anthropic’s published candidate guidance (last updated July 2025 at the time of review) allows AI for preparation and refining your own application drafts, but not during live interviews or take-homes unless they say otherwise.
- Many companies have not published a policy at all. Silence is not permission.
- Detection of hidden assistance has grown. Online assessments and live rounds may use proctoring, follow-up questioning and in-person final rounds. Getting caught with an unapproved tool usually ends the process and can get you flagged for future applications.
Policies are changing quickly and many of these programs are pilots. Treat the examples above as signals of a trend, and check the current rules for your specific loop with your recruiter.
Questions to ask your recruiter
- “Are AI coding assistants allowed in any round? If so, which tool, and is it provided?”
- “Will the coding environment be able to run code?”
- “Is there a code-reading or debugging round, or only problem solving?”
- “Is the take-home timed, and what is the policy on AI tools for it?”
Ask by email if you can, so you have the answer in writing.
If AI is allowed in a round: what is being graded
When a round allows an assistant, the interviewer is not grading whether the AI can solve the problem. They are grading you working with it, which usually means:
- Problem framing. Do you understand the task well enough to give the assistant precise instructions and constraints?
- Decomposition. Do you break the work into small, checkable steps instead of asking for everything at once?
- Reading code critically. Can you explain every line the assistant produced, and do you catch its mistakes?
- Verification. Do you write or run tests, try edge cases and check complexity rather than trusting the output?
- Judgment. Do you know when to stop prompting and just write the code yourself?
- Communication. Do you narrate why you accept, edit or reject a suggestion?
How to practice for this format:
- Take a medium problem, have an assistant produce a solution, then find and fix at least one bug or inefficiency yourself
- Practice reading an unfamiliar codebase of a few hundred lines and explaining what it does in 5 minutes
- Practice writing a quick test harness for a function before trusting it
- Practice extending existing code (add a feature, fix a failing test) rather than only writing from scratch
- Time yourself; the goal is to finish more, not to prompt more
If AI is not allowed: what that means in practice
- No assistant chats, browser extensions, overlay apps, second devices or “invisible” helpers.
- No autocomplete powered by a large model in the editor, if the environment allows you to choose your own editor. Turn it off before the call.
- Look things up only if the interviewer says documentation is fine.
- If you are unsure whether something counts, ask the interviewer before using it.
Honest ways to use AI while preparing
AI is a strong study partner. These uses are generally fine because they happen before the interview, but still check each company’s guidance:
- Explain a concept you do not understand, then verify it against a textbook or reference.
- Generate practice variations of a problem you already solved (“same pattern, different story”).
- Review your solution after you finish: ask for edge cases you missed or a simpler approach.
- Act as a mock interviewer: ask it to give you a problem, stay silent until you ask questions, then critique your explanation.
- Practice system design discussions by having it push back on your design choices.
- Polish your own story drafts for clarity and length. Do not let it invent experiences or inflate results.
And the uses that hurt you:
- Reading AI solutions before attempting the problem. You will recognise solutions without being able to produce them.
- Letting it write your behavioral stories. Interviewers ask follow-ups; invented details fall apart.
- Trusting its complexity analysis or facts without checking.
What has not changed
Even where AI is allowed, companies still need to know you understand fundamentals. You cannot judge an assistant’s answer about a graph algorithm if you do not know graph algorithms. The DSA, system design and behavioral tracks in this playbook remain the core.
Offers and Negotiation Basics
Negotiation is part of the process. Recruiters expect it, and a polite, well-reasoned ask rarely costs you an offer. This section is general career advice, not legal or financial advice.
Know the parts of an offer
| Component | What to check |
|---|---|
| Base salary | Annual amount, review cycle |
| Equity | Type (RSUs, options), total grant value, vesting schedule, cliff, refresh policy |
| Bonus | Target percentage, how it is decided, whether it is guaranteed in year one |
| Sign-on bonus | Amount, clawback terms if you leave early |
| Level / title | Often more important long term than year-one pay |
| Benefits | Health, retirement match, leave, learning budget, remote policy |
| Start date and relocation | Flexibility and support |
Negotiation principles
- Do not share your current salary or a number first if you can avoid it (and in some places employers are not allowed to ask about salary history). A good deflection: “I’d like to understand the full scope of the role first. I’m confident we can find a number that works if it’s the right fit.”
- Get everything in writing before you decide.
- Use data. Compensation sites such as Levels.fyi show self-reported pay by company, level and location.
- Competing offers are the strongest lever. Try to line up your interview processes so offers arrive close together.
- Negotiate the whole package, not just base. Equity, sign-on and level can have more room.
- Be enthusiastic and specific. “I’m excited about this team. If you can get the total to X, I’m ready to sign this week.” Only say that if it is true.
- Ask for time. A few days to decide is a normal request.
- Do not lie about other offers. It is easy to check and damages trust.
A simple counter email template
Hi [Recruiter],
Thank you again for the offer. I’m genuinely excited about [team/product] and the work we discussed.
Before I decide, I wanted to share where I am. [I have another offer at a total compensation of about X / Based on my research for this level and location], I was hoping we could get closer to [target]. Is there flexibility on the equity grant or the sign-on bonus?
I’d love to make this work. Happy to talk by phone if that’s easier.
Best, [Name]
Further reading on negotiation
- Salary Negotiation: Make More Money, Be More Valued by Patrick McKenzie
- Ten Rules for Negotiating a Job Offer by Haseeb Qureshi
The Week Before and the Day Of
The week before
- Stop learning new topics; review your mistake log and pattern table
- Do one or two timed problems a day to stay warm
- Run your behavioral stories out loud once
- Research the company: product, recent launches, engineering blog, the team you might join
- Prepare 3-5 questions for each interviewer
- Confirm the format, tools and AI policy with your recruiter
The day before
- Test your camera, microphone, internet and the interview platform
- Prepare a quiet room, water, a pen and paper
- Close notifications, extensions and anything that could look like outside assistance
- Sleep. A rested brain is worth more than five more problems.
During the interview
- Smile, introduce yourself in 30 seconds, and get to the problem.
- Follow the talk-through script.
- If a round goes badly, reset for the next one. Loops are often scored round by round, and one weak round does not always sink you.
- Send a short thank-you note to your recruiter afterwards.
Good questions to ask interviewers
- “What does a typical week look like for someone on this team?”
- “How are technical decisions made here, and how are disagreements resolved?”
- “What does success look like in the first six months?”
- “How has the team’s workflow changed with AI coding tools?”
- “What is something you would change about the engineering process if you could?”
Resources
Curated, not exhaustive. Everything below is a real, widely used resource. Prices and access terms change, so check each site.
Books: coding interviews and algorithms
- Cracking the Coding Interview by Gayle Laakmann McDowell: the classic interview prep book.
- Beyond Cracking the Coding Interview by Gayle Laakmann McDowell, Mike Mroczka, Aline Lerner and Nil Mamano: a newer follow-up with more on problem-solving strategy and the modern process.
- Elements of Programming Interviews by Adnan Aziz, Tsung-Hsien Lee and Amit Prakash: harder problems, available in Python, Java and C++ editions.
- The Algorithm Design Manual by Steven S. Skiena: practical algorithms with “war stories”.
- Introduction to Algorithms by Cormen, Leiserson, Rivest and Stein (CLRS): the standard reference text; use it to look things up rather than to read cover to cover.
- Grokking Algorithms by Aditya Bhargava: an illustrated, beginner-friendly introduction.
Books: system design
- Designing Data-Intensive Applications by Martin Kleppmann: the best single book for the concepts behind system design rounds.
- System Design Interview: An Insider’s Guide (Volumes 1 and 2) by Alex Xu (Volume 2 with Sahn Lam): worked interview-style designs. The authors also run ByteByteGo.
Comparison: which book should I buy?
| Book | Level | Best for | Skip if |
|---|---|---|---|
| Cracking the Coding Interview | Beginner to intermediate | First structured pass over interview topics | You already solved 200+ problems |
| Beyond Cracking the Coding Interview | Intermediate | Best pick in 2026: problem-solving strategy and the modern process | You want pure problem volume |
| Elements of Programming Interviews | Intermediate to advanced | Harder problems with careful solutions | You are still learning the basics |
| Grokking Algorithms | Beginner | Best pick for absolute beginners | You took a data structures course |
| The Algorithm Design Manual | Intermediate | Practical intuition and real-world stories | You only need interview drills |
| Designing Data-Intensive Applications | Intermediate to advanced | Best pick for system design depth | You have under 4 weeks |
| System Design Interview, Vol. 1 and 2 | Intermediate | Worked interview-format designs | You already design systems daily |
Practice platforms
- LeetCode: the largest interview problem bank; the Top Interview 150 study plan is a good structured list.
- NeetCode roadmap: problems grouped by pattern with video explanations.
- Grind 75: a configurable schedule of high-value problems.
- CSES Problem Set: excellent for deeper algorithm practice.
- LeetCode Patterns: a free problem list you can filter by pattern.
- HackerRank: useful for getting used to online-assessment style environments.
- AtCoder: regular contests with clean problem statements, good for timed practice.
| Platform | Cost model | Best for | Best pick? |
|---|---|---|---|
| LeetCode | Free tier plus paid premium | Biggest interview problem bank, company tags (premium) | Best overall for coding rounds |
| NeetCode | Free roadmap plus paid courses | Learning patterns in order with videos | Best structured free path |
| Grind 75 | Free | A time-boxed schedule when you have a deadline | Best for crash plans |
| CSES | Free | Depth and classic algorithms | Best for going beyond interviews |
| HackerRank | Free for candidates | Assessment-like environment | Use before an online assessment |
Prices and premium features change; check each site.
Learning and visualisation
- MIT OpenCourseWare 6.006 Introduction to Algorithms: full university lectures, free.
- Algorithms, Part I on Coursera from Princeton.
- VisuAlgo: animations of data structures and algorithms.
- Python Tutor: step through code and see memory and pointers.
- Big-O Cheat Sheet: quick complexity reference.
Guides and handbooks
- Tech Interview Handbook: free guide covering the whole process.
- The System Design Primer: a large open-source system design study guide.
- Hello Interview system design in a hurry: a concise system design walkthrough.
- Tech Interview Handbook on GitHub: the open-source source of the handbook site.
- CP-Algorithms: reference explanations for advanced algorithms.
Real-world system design reading
Engineering blogs show how real systems are built, which makes your interview answers more concrete:
- High Scalability: architecture write-ups of large systems.
- The Cloudflare Blog: networking, edge computing and incident write-ups.
- AWS Architecture Center: reference architectures and best practices.
- Martin Fowler’s site: patterns for distributed systems and software architecture.
- Google SRE books: reliability, monitoring and incident response, free online.
Mock interviews and process insight
- interviewing.io: anonymous mock interviews with engineers; also publishes guides to company hiring processes.
- Exponent: courses and peer mocks for software, product and system design interviews.
- Excalidraw: a free whiteboard for practicing system design diagrams.
Compensation
- Levels.fyi: self-reported compensation by company, level and location.
Best Picks at a Glance
If you only use a handful of resources, use these:
| Need | Best pick | Why |
|---|---|---|
| A problem list | NeetCode roadmap or Grind 75 | Ordered by pattern; enough coverage without 500 problems |
| A place to practice | LeetCode | Closest to what most companies ask |
| One interview book | Beyond Cracking the Coding Interview | Current process, strategy and practice in one place |
| One system design book | Designing Data-Intensive Applications | Teaches the concepts every design answer relies on |
| A free system design guide | The System Design Primer | Broad, free and well organised |
| Mock interviews | A peer who interviews for a living, or interviewing.io | Feedback from real interviewers is the fastest improvement |
| Seeing algorithms | VisuAlgo | Animations for nearly every classic algorithm |
| Compensation data | Levels.fyi | Level-by-level data for negotiation |
FAQ
How many LeetCode problems do I need to solve? There is no magic number. Most people who pass well-prepared have solved somewhere around 150-300 problems with repetition, covering every pattern above. Being able to re-solve 100 problems cleanly is worth more than having seen 500.
Which language should I use? The one you are fastest and most accurate in. Python is popular because it is concise. For some roles (for example, systems or mobile) interviewers may prefer a specific language; ask your recruiter.
Do I need system design as a new grad? Usually not as a full round, but basic design questions (designing a class structure or a small service) can appear. Spend about 10% of your time on it.
Should I memorise solutions? Memorise patterns and templates (binary search, BFS, union-find), not specific problem solutions. Interviewers often change details to check understanding.
Is it cheating to use AI to prepare? Using AI to study, explain concepts and run mock interviews is generally accepted and some companies say so explicitly. Using undisclosed AI during an interview where it is not allowed is cheating. When in doubt, ask.
I failed an interview. When can I reapply? Many companies have a cooldown period, often between 6 and 12 months. Ask your recruiter, ask for feedback (you may or may not get it), and add the failed problems to your mistake log.
How do I balance prep with a full-time job? Use the 12-week plan, protect a fixed daily slot (early morning works for many people), and use weekends for mocks and system design.
Is LeetCode still worth it in the AI era? Yes, for most companies. Many rounds still ban AI assistance, and even AI-allowed rounds grade whether you can judge and fix the code an assistant writes. That needs the same fundamentals.
Can I use ChatGPT, Claude or Copilot during a coding interview? Only if the company tells you it is allowed for that round. A few companies have publicly announced or piloted AI-assisted rounds; many others forbid AI tools. Ask your recruiter and get the answer in writing.
Are online assessments proctored? Often, yes: many use webcam, screen or browser monitoring, and they state the rules before you start. Read the instructions on the start page carefully.
What if I blank on a problem in the interview? Say so calmly, restate the problem, try a tiny example by hand and describe a brute-force approach. Interviewers reward visible, structured thinking even when the optimal answer comes late.
Do companies still ask hard dynamic programming questions? Some do, but most loops lean on arrays, hash maps, trees, graphs and intervals. Learn the common DP patterns (1D, 2D grid, knapsack, strings) rather than every rare variant.
How important is the resume? It decides whether you get the interview. Lead each bullet with impact and numbers, keep it to one page early in your career, and make sure every project on it is something you can discuss in depth.
Should I do take-home assignments? They are a reasonable format if the time limit is respected. Treat them like production code: tests, a short README, clear trade-offs. Check the AI policy for the take-home specifically.
Where to Go Next
- Learn the fundamentals more deeply: MIT 6.006 and Algorithms by Jeff Erickson (free).
- Go beyond interview-level algorithms: the USACO Guide and CP-Algorithms.
- Broaden your computer science: Teach Yourself Computer Science lists books and lectures for every core subject.
- Start from zero: CS50 is a free, well-known introduction to programming and computer science.
- Keep your system design current: follow the engineering blogs listed under Real-world system design reading.
Contributing
Pull requests are welcome. Please keep it accurate and useful:
- Only add resources you have used and whose links you have checked.
- For anything that changes quickly (company AI policies, interview formats, prices), include a source and the month you checked it.
- Keep the tone practical and the plans realistic for people with jobs and families.
- Open an issue first for large restructures.
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.