Pregunta de entrevista de CT

Some code and to identify the errors.