Medium
,String
,Backtracking
,DP
Given a string s
, partition s such that every
substring of the partition is a palindrome. Return all possible palindrome partitioning of s
.
Example 1:
Example 2:
Constraints:
s
contains only lowercase English letters.Yen-Chi ChenSun, Jan 22, 2023
Yen-Chi ChenSun, Jan 22, 2023