Pregunta de entrevista de Huawei Technologies

How to traverse 2 dimensional array with 1 loop