Design a Collaborative Editor (Google Docs)“Design Google Docs” is the canonical real-time collaboration question. It looks…