Pregunta de entrevista de Amazon

Mostly rudimentary debugging problems and algorithms