Pregunta de entrevista de Thoughtworks

Case study was given to solve