Solink interview question

Debug a program