Implement an In-Memory Chatter Message Store
Implement an in-memory Chatter message store. Each message has a unique chat_msg_id and text. Messages are loaded in batches via load; there are no duplicate IDs, and arrival order is ascending ...
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:
