mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-01-11 02:58:13 +08:00
16 lines
484 B
HTML
16 lines
484 B
HTML
<p>给定一个字符串,编写一个函数判定其是否为某个回文串的排列之一。</p>
|
||
|
||
<p>回文串是指正反两个方向都一样的单词或短语。排列是指字母的重新排列。</p>
|
||
|
||
<p>回文串不一定是字典当中的单词。</p>
|
||
|
||
<p> </p>
|
||
|
||
<p><strong>示例1:</strong></p>
|
||
|
||
<pre><strong>输入:"</strong>tactcoa"
|
||
<strong>输出:</strong>true(排列有"tacocat"、"atcocta",等等)
|
||
</pre>
|
||
|
||
<p> </p>
|