AI Coding Interview Practice Beta
Realistic, multi-file coding problems for the new kind of coding interview, where you can use an AI assistant. Download a starter repo, work in your own editor with any AI tool, and run the tests.
Why practice this way
More coding interviews now look like real work. Instead of a blank editor and an algorithm puzzle, you get a small codebase with several files, and you're asked to fix a bug, add a feature, or build something up in stages. Some companies let you use an AI assistant while you do it, or build one into the interview editor. Our guide to AI-assisted coding interviews covers what each company and interview platform does.
In these rounds, interviewers watch how you:
- get oriented in code you didn't write;
- break the task into steps;
- give the AI the right context, instead of asking it to "fix it";
- check what the AI gives you, by reading it and running tests;
- explain your decisions as you go.
Classic algorithm practice doesn't do much for those skills, and that's the gap these problems are meant to fill. (You still need the fundamentals: an AI assistant won't tell you that a scan over every order is too slow unless you ask the right question. Our coding interview course covers them.)
Practice problems
Pick up four tickets in a working bakery order service: fix a stock bug, add coupon codes, make the dashboard queries scale, then add cancellations. Practice reading, debugging and extending code you didn't write, with an AI assistant at your side.
start this problem »
Four bug reports, written as symptoms, in a small cake delivery scheduler. Find and fix each root cause, and practice not accepting an AI's plausible-but-wrong fix.
start this problem »
Build the bakery's in-memory order database in four levels, from set/get to TTLs and backup/restore. The design you pick in level 1 decides how painful level 4 is.
start this problem »
How it works
- Pick a problem and read the scenario.
- Download the starter repo, a small zip file. All you need is Python 3.10 or newer: the problems use only the standard library.
- Open it in your editor with your AI assistant: Cursor, Claude Code, GitHub Copilot, ChatGPT, whatever you'd use at work.
-
Run the tests from the repo's folder:
python3 -m unittest discover -s tests. Tests for the stages you haven't done yet fail. That's expected. - Set a timer for the time box and work through the stages in order. Talk out loud as if an interviewer were listening.
- Grade yourself with the problem's rubric when time's up. Then read the walkthrough and compare your code with the reference solution.
How to use AI well in a coding interview
- Read before you prompt. Skim the README, find where requests come in, and look at the tests. Two minutes of reading tells you what context the AI needs.
- Give it the right context. Point it at the specific files, the failing test and the bug report. "Fix the bug" gets you a guess. "This test expects a total of 4250 cents and gets 4000; here are the two modules that compute it" gets you an answer you can check.
- Ask for a plan before code on anything bigger than a few lines, and check the plan against the requirements.
- Verify everything. Read the diff line by line, run the tests, and add a test for the edge case the AI didn't think of. Code that looks right but is subtly wrong is an easy way to fail these rounds.
- Keep changes small and explain each one. If you can't explain a line, don't keep it.
- Know when to just type it. A one-line fix is faster by hand than by prompt.
This is a beta
It's an early version. For now the problems are only in Python, and you work on them in your own editor: there's no in-browser editor or built-in AI assistant on this page. Tell us what you'd like to see next at yourfriends@interviewcake.com.
AI coding interview practice FAQ
What is an AI-assisted coding interview?
Can I use AI on these practice problems?
What do I need to run the problems?
Are these real interview questions?
How long should each problem take?
Is it free?
Reviewed by Stephen Cognetta, CEO of Aced. Last updated: December 4, 2026
Interview Cake