LeetCode

Rotate Function

Click here for an explanation.