首页 > 其他 > 详细

131. Palindrome Partitioning 131.回文分区

时间:2020-07-01 23:37:58      阅读:50      评论:0      收藏:0      [点我收藏+]

Given a string s, partition s such that every substring of the partition is a palindrome.

Return all possible palindrome partitioning of s.

Example:

Input: "aab"
Output:
[
  ["aa","b"],
  ["a","a","b"]
]

复杂度:

131. Palindrome Partitioning 131.回文分区

原文:https://www.cnblogs.com/immiao0319/p/13222322.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!