Pregunta de entrevista de Uber

Some question concerning multidimensional array