Pregunta de entrevista de Reev

simple code was given and the problems should have been explained