← AI System Design / 07
hardNewCursorMicrosoftReplit

Design the backend for inline AI code completion in an editor. Suggestions must appear while the developer is typing.

Try it in the practice workspaceDraft your answer before comparing it with the rubric.

Latency-dominated system design. A suggestion that arrives after the developer has typed the next characters is worthless, so every design choice is about milliseconds, context and cost per keystroke.

Updated Oct 2026 · Original practice questions with worked answers and teaching rubrics. Our editorial policy explains the sources, review process and limits.

Latency-dominated system design. A suggestion that arrives after the developer has typed the next characters is worthless, so every design choice is about milliseconds, context and cost per keystroke.

free accounts read more answers per topic · no card
UP NEXT ON YOUR JOURNEY
NOTES & DISCUSSION · 0

No comments yet. How would you have answered?