Pergunta de entrevista da empresa RBC

System design question in technical interview