All problems
Advanced·🛠️ Developer Tools·Replit · CodeSandbox · VS Code Live Share

Design
Real-Time Collaborative Code Editor

Design a browser-based collaborative code editor (like this app's own canvas, but for code) supporting multi-cursor editing and live execution.

This is a Low-Level Design (LLD) problem. New to LLD vs HLD? Start here.

#Distributed Systems#CRDT#Sandboxing
6F + 3NF requirements inside

01 -  Why interviewers ask this

It combines the Google-Docs collaborative-editing problem with sandboxed code execution — interviewers check if you isolate untrusted execution as rigorously as you handle concurrent edits.

02 -  Where this system exists in the real world

You interact with this design every day.

Replit / CodeSandbox collaborative coding platforms

Technical interview live-coding platforms

Pair-programming and classroom coding tools

03 -  What you'll master

Solve this once. Know it forever.

01

Apply CRDT/OT concepts to a code editor

02

Sandbox untrusted code execution safely

03

Stream execution output to multiple viewers live

04 -  What you'll design

6 functional · 3 non-functional requirements.

Multiple users edit the same code file concurrently with live sync

5 more requirements inside

Sign in to unlock the full brief and start designing

05 -  Companies that ask this

You may face this exact question in your next interview.

R
Replit
C
CodeSandbox
V
VS Code Live Share

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.