Pregunta de entrevista de American Express

Analyzing the problem and the question