The Transpose Method, Explained.
The transpose method is a handy-dandy little method for rotating arrays on to their sides. Since a picture is worth a thousand words, here’s a gif explaining how transpose works:
The transpose method is a handy-dandy little method for rotating arrays on to their sides. Since a picture is worth a thousand words, here’s a gif explaining how transpose works: