6.Rotate Image

You are given an n x n 2D matrix representing an image, rotate the image by 90 degrees (clockwise) in place.

Last updated