Pregunta de entrevista de Statista

It was a take home assignment