Real-time Chat System Design

Design a simple real-time chat system supporting the following use cases: 1. One-on-one chat without needing group chat capabilities. 2. A list of chat logs sorted by time. 3. Opening a specific chat ...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: