Bloomberg interview question

Q: Leetcode rotate a matrix