Amazon Interview Question

Simple debugging question involving basics