Back to QuestionsPractice with This Question
Rotate Image
96.2K views•Asked at Airbnb•
Medium
Question Explain
You are given an $n \times n$ 2D matrix representing an image. Rotate the image by 90 degrees (clockwise) in place.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.