← Writing5 min read

Technical interviews are changing (thank god): how to practice real-world coding interviews with AI

Companies like Meta and Canva are moving away from LeetCode toward real-world, AI-assisted coding interviews. Here's what's changing and how to practice with Patchground, a free, open-source tool.

For years, getting a software engineering job meant one thing: grinding LeetCode. Invert a binary tree, find the longest palindromic substring, do it on a whiteboard with someone watching you sweat. Then you got the job and spent your days reading code you didn’t write, chasing bugs from support tickets and arguing about where a change should live.

The interview and the job were two different sports.

That’s finally changing.

What’s changing in technical interviews

Lately I kept seeing the same news: companies saying they don’t use LeetCode-style interviews anymore, or that they’re changing them a lot. Some examples:

  • Canva now expects backend, frontend and ML candidates to use AI tools like Copilot, Cursor and Claude during technical interviews. Their reason is simple: when they tested their old algorithm questions with AI, the tools solved them in seconds. The interview stopped telling them anything.
  • Meta started piloting an AI-enabled coding interview, where candidates can use AI assistants to solve more practical, real-world problems. In their words, it’s not “cheating”, it’s how the job is evolving.

And the pattern is the same in a lot of smaller companies: fewer algorithm puzzles, more:

  • real problems in a real codebase
  • understanding existing code you’ve never seen before
  • debugging: going from a symptom to the root cause
  • architecture and trade-offs: why this fix, why here
  • working with AI: directing a coding agent and checking what it actually changed

Honestly, good. This is much closer to what the work actually is.

So where do you practice that?

This is the problem. If the interview is “here’s a repo, here’s a ticket, fix it, and use AI if you want”, LeetCode doesn’t help you much anymore.

I looked for a place to practice this kind of interview and I couldn’t find what I wanted:

  • Most options weren’t open source.
  • The open-source ones were too complex, or focused on something else. CodeCrafters is good (really), but building your own Git or Redis is a different skill from picking up a ticket in someone else’s codebase.
  • Almost all of them were a code box in the browser, which is exactly the opposite of how you work, and of how these new interviews work.

So I built one, in less than a week: Patchground.

What is Patchground?

Patchground is a free, open-source tool to practice real-world coding interviews. Instead of a puzzle, you get:

  • a real repository
  • a real ticket (a bug report or a feature request)
  • something broken

You fix it in your own editor, with your own AI (Claude Code, Codex, a local model, or nothing at all). The checks run in Docker, on your machine, hidden ones included.

No browser box. No account. No API keys. No subscription. It’s Apache-2.0.

How a practice session works

One ticket, four commands:

$ pgnd start duplicate-charges-on-retry
workspace ready · ticket: Duplicate charges after a payment retry · 45 min

$ pgnd check
✗ 12 passed, 2 failed — hidden checks still red

$ pgnd check
✓ 14 passed, 0 failed

$ pgnd submit
  1. pgnd start: you pick up a ticket. You get a fresh workspace with a real codebase. The tests that decide the outcome stay hidden, like in a real interview.
  2. Your editor: you read code you didn’t write, reproduce the problem and fix it. With AI or without it.
  3. pgnd check: run the checks in Docker as many times as you need. Red only turns green when the behaviour is actually right.
  4. pgnd submit: your work is frozen into a report.

Right now there are 15 challenges in Python and TypeScript, across three kinds of work: debugging, refactoring and building features. That’s around 11 hours of timeboxed practice.

Facts, not a score

At the end you don’t get “8/10”. An interviewer is never going to give you 8/10 either, so why practice for that?

You get facts:

  • Checks: what passed and what didn’t (e.g. 14/14).
  • Regression test: whether your test actually catches the bug. Patchground runs it on the original code (it should fail) and on your fix (it should pass).
  • Diff scope: whether your change stayed where it should, or whether you (or your AI) touched half the repo.
  • Time: how long it took you against the timebox.

These are the things a good interviewer is looking at anyway. And if you used an AI agent, they’re also the best way to check what it really did.

The skills these interviews actually test

If you’re preparing for a modern software engineer interview, this is what I’d focus on, and what Patchground is built around:

  • Debugging unfamiliar code: trace a symptom from a ticket to its root cause.
  • Proving the fix: write a regression test that fails before and passes after.
  • Working with your AI: direct the tool, then verify its output.
  • Shipping a feature without breaking what already works.
  • Keeping the change in scope: fix the problem, not the whole codebase.

Build your own challenge

Patchground is open source, and the challenges are too. If you have a bug that taught you something, you can turn it into a challenge and submit it. How to do it is explained on the site.

The idea is that it’s not just a place to practice, but a shared set of real problems made by people who actually hit them.

FAQ

Is LeetCode still worth it for interviews?

For some companies, yes. But more and more companies are moving to practical, real-world and AI-assisted interviews, and LeetCode doesn’t prepare you for reading and fixing an unfamiliar codebase.

Can I use AI in a coding interview?

It depends on the company. Some, like Canva, expect it, and Meta is piloting AI-enabled coding interviews. Always ask your recruiter. Either way, practicing both with and without AI is a good idea, and Patchground lets you do both.

Is Patchground free?

Yes. It’s free and open source (Apache-2.0). No account, no subscription.

What do I need to run it?

Docker, your editor, and (optionally) your AI tool of choice. Everything runs on your machine.

Which languages are supported?

Python and TypeScript for now.

Try it

Pick a challenge, fix it, and tell me what felt real and what didn’t. That’s the feedback I want most right now 😎

👉 patchground.dev