code: def partition(self, s: str) -> List[List[str]]:
      output = []
  
      self.dfs(s, output, [])
  
      return output
  
label_desc: Use image node_id 1 for calling the Solution obj's underlying member method code with example usage: obj.partition(s) and returns: output