摘要:
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, givens="aab",Return [ ["aa","b"], ["a","a","b"] ]对于这类返回所有结果集合的问题,通常都是使用DFS,递归算法Soluton:class 阅读全文