Pregunta de entrevista de American Chase

Question from Resume and coding