1880: 分割回文串-字符串切分
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:1
Solved:0
Description
给你一个字符串 s,请你将 s 分割成一些 子串,使每个子串都是 回文串 。返回 s 所有可能的分割方案。
示例 1:
输入:s = "aab"
输出:[["a","a","b"],["aa","b"]]
示例 1:
输入:s = "aab"
输出:[["a","a","b"],["aa","b"]]
Input
输入一个字符串
Output
输出切分后的回文字符串
Sample Input Copy
aab
Sample Output Copy
aa
b