I have a row-based multidimensional array:
/** [row][column]. */
public int[][] tiles;
I would like to transform this array to column-based array, like following:
/** [column][row]. */
public int[][] tiles;
…But I really don’t know where to start
try this:
output: