microsoft · data-scientist · system-design
Design a system for real-time collaborative document editing. Focus on conflict resolution and latency.
Difficulty: Medium
Overview
Tests OT/CRDT awareness, real-time architecture, and trade-offs.
Example Answer
- Use CRDTs for offline-friendly merging and a WebSocket sync layer.
- Persist operations to an append-only log and rebuild state on demand.
Tips
- Start with requirements: offline, latency, scale.
- Compare OT vs. CRDT.
- Describe storage and sync strategy.
Your Actions
Bookmarks show up in Profile → Career Prep → Saved Questions and on the company page under Saved Questions.