diff --git a/796. Rotate String/main.py b/796. Rotate String/main.py new file mode 100644 index 0000000..58ad704 --- /dev/null +++ b/796. Rotate String/main.py @@ -0,0 +1,3 @@ +class Solution: + def rotateString(self, A: str, B: str) -> bool: + return len(A)==len(B) and B in A*2