The Mindscaping Inc.
Tuesday, December 29, 2015
131. 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"] ]
Java Code:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment