In-Memory Pub/Sub

Asked at Snapchat · Coding Questions · Difficulty: Medium · Last asked Mar 18, 2026

Implement an in-memory pub/sub service with topic creation, publishing, subscribing, and a follow-up discussion around push notification and concurrency.

Loading the problem…