Amazon interview question

To debug code that was already written.