Pergunta de entrevista da empresa Willowglen systems

Problem related to 2-D array.