Pregunta de entrevista de Amazon

Simple debugging question involving basics