#strings
Read more stories on Hashnode
Articles with this tag
class Solution: def rotateString(self, s: str, goal: str) -> bool: return len(goal) == len(s) and goal in s * 2
class Solution: def partition(self, s: str) -> List[List[str]]: def checkPalindrome(word): return word == word[::-1] ...