30
Let's say I have the following (2D) matrix:
[[1, 2, 3, 4 ],
[5, 6, 7, 8 ],
[9, 10, 11, 12],
[13, 14, 15, 16]]
Rotate the matrix counterclockwise R times (not in 90 degree increments, just by 1 number each time),
1 2 3 4 2 3 4 8 3 4 8 12
5 6 7 8 -->...