Given a string s, partition s such that every substring of the partition is a palindrome.
Return all possible palindrome partitioning of s.
For example,
given s = "aab",
Return
[
["aa","b"],
["a","a","b"]
]
见程序注释
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Given a string s, partition s such that every substring of the partition is a palindrome.
Return all possible palindrome partitioning of s.
For example,
given s = "aab",
Return
[
["aa","b"],
["a","a","b"]
]
见程序注释