Pergunta de entrevista da empresa ModiFace

How do I access and edit the value of an N-dimensional array numerically?