Hey guys, i was wondering if you could rotate array values.
So after rotating the values from this:
1,1,1,1,1,1,1,
0,1,0,0,0,0,0,
0,0,1,0,0,0,0,
0,0,0,1,0,0,0,
0,0,0,0,1,0,0,
0,0,0,0,0,1,0,
0,0,0,0,0,0,1
You get this:
0,0,0,0,0,0,1,
0,0,0,0,0,1,1,
0,0,0,0,1,0,1,
0,0,0,1,0,0,1,
0,0,1,0,0,0,1,
0,1,0,0,0,0,1,
1,0,0,0,0,0,1
Any clever solutions out there?