Pregunta de entrevista de Citi

My experience, fixed some already implemented code