Kalibrate interview question

I was asked to debug and fix a sample application.