题目思路 题目字符串轮转。给定两个字符串s1和s2,请编写代码检查s2是否为s1旋转而成(比如,waterbottle是erbottlewat旋转后的字符串)。 思路 class Solution: def isFlipedString(self, s1: str, s2: str) -> bool: return len(s1) == len(s2) and (s2 + s2).find(s1) != -1