Pergunta de entrevista da empresa Block

Rotating 2D matrix leetcode question