1
0
mirror of https://gitee.com/coder-xiaomo/leetcode-problemset synced 2025-01-11 02:58:13 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee
leetcode-problemset/leetcode-cn/problem (English)/回文排列(English) [palindrome-permutation-lcci].html

13 lines
522 B
HTML
Raw Normal View History

<p>Given a string, write a function to check if it is a permutation of a palindrome. A palindrome is a word or phrase that is the same forwards and backwards. A permutation is a rearrangement of letters. The palindrome does not need to be limited to just dictionary words.</p>
<p>&nbsp;</p>
<p><strong>Example1: </strong></p>
<pre>
<strong>Input: &quot;</strong>tactcoa&quot;
<strong>Output: </strong>truepermutations: &quot;tacocat&quot;&quot;atcocta&quot;, etc.
</pre>
<p>&nbsp;</p>