Pregunta de entrevista de Amtrak

Problem that I helped resolve