[1][2][3][4]
[5][6][7][8]
[9][0][A][B]
[C][D][E][F]
[1][5][9][C]
[2][6][0][D]
[3][7][A][E]
[4][8][B][F]
I am hoping someone can provide suggestions on how to diagonally rotate a 2D array. So the first row becomes the first column; second row, second column, etc...
Any guidance appreciated.
Argh! Sorry, I forgot to mention: Javascript