Pregunta de entrevista de Accenture

Build a solution to the case given