End of Year Sale: Use Coupon Code END2025 to Get Extra 25% Off.
s with itself to create a new string t (i.e., t = s + s).t to handle the rotation cases.s is a substring of the modified t.s is a substring, return true; otherwise, return false.