PPractick

System design interview question

Design an AI coding assistant (Copilot)

Hard · System design (HLD) · Company tags: Microsoft, Google, JetBrains

The prompt

"Design an AI coding assistant that suggests code as a developer types in their editor. Suggestions must appear within a few hundred milliseconds or the developer has already typed past them, the model needs context from files it has not been given, and the code being edited is proprietary."

What this round really tests

an extreme latency budget for an expensive model, plus context selection — deciding which fragments of a large codebase to include in a limited prompt. It differs from a chat assistant in that the user did not ask a question, the result must arrive before they type the next character, and most suggestions are discarded.

Clarifying questions worth asking

Practise questions like this with a real engineer

On Practick another engineer interviews you live for 60 minutes on a question from this bank. They have the full interviewer guide beside the call: the answers to your clarifying questions, the numbers to hand out, a ladder of follow-ups and a scoring rubric. You get the model solution once the session settles. It is free: interview someone for an hour and you have earned your own.

Book a free mock interview

Related questions

All 132 system design interview questions

System design mock interviews · DSA interview questions · Free mock interview practice · Browse interviewers · Sign in