Block interview question

Rotating 2D matrix leetcode question