Skip to the content.

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

  1. Read What a Modern Interview Loop Looks Like so you know what you are training for.
  2. Pick one plan based on how much time you have and how rusty you are. Do not mix plans.
  3. Copy the checklists into your own notes (or fork this repo) and tick boxes as you go. The ticked boxes are your progress report.
  4. Practice out loud from week one. Silent grinding is the most common reason people who “did 400 problems” still fail.
  5. 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

Week 2: Binary search, linked lists, trees

Week 3: Graphs, backtracking, intervals

Week 4: Dynamic programming, review, polish

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:


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

Month 2: Core data structures and complexity

Month 3: Trees, sorting, searching

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

Data structures

Algorithms

Language fluency


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

  1. Read the problem and restate it in your own words (2 min).
  2. Work through 2 examples by hand, including an edge case (3 min).
  3. Write the brute-force idea and its complexity (2 min).
  4. Look for the better approach, naming the pattern (up to 10 min).
  5. If you are stuck at the 25-minute mark, read only the first hint or the approach summary, not the code. Then try again.
  6. 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

Practice in interview conditions


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:

  1. Clarify. “Can the input be empty? Can values be negative? Is the array sorted? How large can n get?”
  2. Example. Write a small example and the expected output. Agree on it.
  3. Brute force. “The simple way is to check every pair, which is O(n^2).” Saying this shows you understand the problem.
  4. Optimise. Name the bottleneck and the pattern that removes it. “We repeatedly search for a complement, so a hash map makes that O(1).”
  5. Confirm before coding. “I’ll go with the hash map approach, O(n) time and O(n) space. Sound good?”
  6. Code cleanly. Good names, small helper functions, no clever one-liners you cannot explain.
  7. Test. Walk through your example, then an edge case. Fix bugs calmly and say what you are checking.
  8. 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 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)

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

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.

Common system design mistakes


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:

Keep each story to about 2 minutes spoken, with details ready for follow-ups.

Story coverage checklist

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


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:

Read the company’s own interview guide

Several large employers publish official descriptions of their process. Read these before anything a third party says:


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)

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

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:

How to practice for this format:

If AI is not allowed: what that means in practice

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:

And the uses that hurt you:

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

  1. 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.”
  2. Get everything in writing before you decide.
  3. Use data. Compensation sites such as Levels.fyi show self-reported pay by company, level and location.
  4. Competing offers are the strongest lever. Try to line up your interview processes so offers arrive close together.
  5. Negotiate the whole package, not just base. Equity, sign-on and level can have more room.
  6. 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.
  7. Ask for time. A few days to decide is a normal request.
  8. 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


The Week Before and the Day Of

The week before

The day before

During the interview

Good questions to ask interviewers


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

Books: system design

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

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

Guides and handbooks

Real-world system design reading

Engineering blogs show how real systems are built, which makes your interview answers more concrete:

Mock interviews and process insight

Compensation


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


Contributing

Pull requests are welcome. Please keep it accurate and useful:

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.