LeetCode

Unique Substrings in Wraparound String

Click here for an explanation.