Array¶ How to rotate a 2D array by 90 degrees right or left¶ Rotate right Transpose Reverse each row rotate left reverse each row transpose ???? Why does this work? Last update: 2023-04-24