LeetCode

Group Shifted Strings

Click here for an explanation.