Pregunta de entrevista de Bluewolf

Algorithm. System design and Code review question