Pregunta de entrevista de Copper

Algorithm solving. Creation of frontend component.