<commit_before>// Time:  O(n)
// Space: O(n)

class Solution {
public:
    bool canPermutePalindrome(string s) {
        bitset<256> bit;
        for (const auto& c : s) {
            bit.flip(c);
        }
        return bit.count() < 2;
    }
};<commit_msg>Update palindrome-permutation.cpp<commit_after>// Time:  O(n)
// Space: O(n)

class Solution {
public:
    bool canPermutePalindrome(string s) {
        bitset<256> bits;
        for (const auto& c : s) {
            bits.flip(c);
        }
        return bits.count() < 2;
    }
};
{'fraction_non_alphanumeric': 0.1478743068391867, 'fraction_numerical': 0.014787430683918669, 'mean_word_length': 1.9456521739130435, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6862210', 'n_tokens_mistral': 204, 'n_tokens_neox': 195, 'n_words': 45}