String Rotation Find out if a string is a rotation of another string. E.g. ABCD is a rotation of BCDA but not ACBD. Source Reddit