摘要:
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 阅读全文
posted @ 2014-04-06 15:13
andyqee
阅读(155)
评论(0)
推荐(0)

浙公网安备 33010602011771号