Nokia interview question

how to manipulate 2d arrays