Kamcord interview question

Debug a program that is supposed to print a 2D array in a specific order.