Goldman Sachs Interview Question

Medium system design based like whatsapp