Design a collaborative document editing service such as Google Docs or Etherpad.
Suggested time: 45 minutes
Loading the workspace...
Two people type into the same paragraph at the same instant. One adds a sentence, the other deletes a word. The core challenge of Google Docs is not building a text editor; it is merging those concurrent edits without losing either person's work.
Real-time collaborative editing
Offline editing with automatic sync
Comments and suggestions anchored to text ranges
Sharing and permissions
Revision history with restore
Rich text formatting
Design Dropbox (hard)
Design a Smart Home System (hard)
Company guides that list this problem among their sample questions.