Back to Questions

Rotate Image

96.2K viewsAsked 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.

Practice with This Question
Rotate Image - Interview Question