LeetCode

Rotate String

Click here for an explanation.