Category
Level
The minimum rotation of a string is the lexicographically smallest string you can get by cutting it at some position and swapping the two parts.