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.)

How it works

  1. Pick a problem and read the scenario.
  2. Download the starter repo, a small zip file. All you need is Python 3.10 or newer: the problems use only the standard library.
  3. Open it in your editor with your AI assistant: Cursor, Claude Code, GitHub Copilot, ChatGPT, whatever you'd use at work.
  4. 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.
  5. Set a timer for the time box and work through the stages in order. Talk out loud as if an interviewer were listening.
  6. 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?

A coding interview where you're allowed, or expected, to use an AI assistant while you work. The problems usually look more like real work than a classic algorithm puzzle: a small codebase with several files, a bug to find, a feature to add. You're judged on how you understand the code, break down the problem, and check what the AI gives you, not only on whether the code runs.

Can I use AI on these practice problems?

Yes. Use any editor and any AI assistant you like: Cursor, Claude Code, GitHub Copilot, ChatGPT or anything else. The problems are designed to be worked that way. Practice explaining and verifying everything the AI writes, because that's what an interviewer will ask you to do.

What do I need to run the problems?

Python 3.10 or newer. The problems use only the standard library, so there is nothing to install. Unzip the starter repo and run the tests from its folder with: python3 -m unittest discover -s tests

Are these real interview questions?

No. They're original problems written by Interview Cake in the formats companies have described publicly: working in an existing codebase, fixing bugs from bug reports, and building a feature in levels. They aren't leaked questions from any company.

How long should each problem take?

Each problem lists a time box, usually 60 to 75 minutes, about the length of a real round. Do the stages in order and stop when the time is up. Getting partway with clean, tested code beats rushing through every stage.

Is it free?

Yes. The practice problems are free and you don't need an account. It's a beta, so tell us what works and what doesn't.

Reviewed by Stephen Cognetta, CEO of Aced. Last updated: December 4, 2026

. . .