Skip to content

Commit

Permalink
py imp
Browse files Browse the repository at this point in the history
  • Loading branch information
Azureki committed Sep 16, 2019
1 parent 4c4e939 commit ec5bf84
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 796. Rotate String/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Solution:
def rotateString(self, A: str, B: str) -> bool:
return len(A)==len(B) and B in A*2

0 comments on commit ec5bf84

Please sign in to comment.