成吉思(刷)
Saturday, March 12, 2016
LeetCode Q131: Palindrome Partitioning
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"] ]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment