Rotate Image at Roblox
Medium79.3% acceptance
This problem has 75.0% frequency at Roblox.
Problem Description
You are given an `n x n` 2D `matrix` representing an image, rotate the image by **90** degrees (clockwise). You have to rotate the image [**in-place**](<https://en.wikipedia.org/wiki/In-place_algorithm>), which means you have to modify the input 2D matrix directly. **DO NOT** allocate another 2D ma...
Read full problem and hintsTopics
Also asked at 36 companies
More Roblox Questions
Task SchedulerMediumText JustificationHardMaximize Distance to Closest PersonMediumNumber of Ways to Wear Different Hats to Each OtherHardMagnetic Force Between Two BallsMedium
View all Roblox questions