Índice a través de una matriz 2D
int[][]x;//define
for(int i=0;i<x.length;i++){
for(int j=0;j<x[i].length;j++){
//dp something with x[i][j]
}
}
Vast Vulture
int[][]x;//define
for(int i=0;i<x.length;i++){
for(int j=0;j<x[i].length;j++){
//dp something with x[i][j]
}
}