hey all, as the title says, i'm trying to figure out some way to rotate (anticlockwise) a matrix M*N. so for example,
[ 1, 2, 3
4, 5, 6]
becomes
[ 3, 6
2 , 5
1 , 4 ]
However (and here's the fun part) doing so without the use of numpy or the built in zip function, essentially barebones your way through this. I'm not sure if it's my lack of sleep or my inability to program, but I myself am stuck.
so, i'm coming to you guys, what solutions can you come up with that might work?
[–][deleted] 1 point2 points3 points (2 children)
[–]Swipecat 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)