

def partition(self, s):
    '\n        :type s: str\n        :rtype: List[str]\n        '
    ret = []
    self.backtrack(s, [], ret)
    return ret

dataset/ETHPy150Open algorhythms/LintCode/Palindrome Partitioning.py Solution.partition/original