leetcode: 字符串
Posted strong
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了leetcode: 字符串相关的知识,希望对你有一定的参考价值。
1. 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"] ]
给定一个字符串,将字符串分成多个部分,满足每一部分都是回文串,请输出所有可能的情况
以上是关于leetcode: 字符串的主要内容,如果未能解决你的问题,请参考以下文章