I came across an interview problem online:
Cyclic rotations. Two strings s and t are cyclic rotations of one another if they have the s