Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 748 Bytes

_266. Palindrome Permutation.md

File metadata and controls

31 lines (21 loc) · 748 Bytes

All prompts are owned by LeetCode. To view the prompt, click the title link above.

Back to top


First completed : March 15, 2025

Last updated : March 15, 2025


Related Topics : Hash Table, String, Bit Manipulation

Acceptance Rate : 68.23 %


Solutions

Python

class Solution:
    def canPermutePalindrome(self, s: str) -> bool:
        return sum(x % 2 for x in Counter(s).values()) <= 1