/* Toggle the ith bit in the integer. */ public static bool IsPermutationOfPalindrome3(String phrase) { int bitVector = BitVector.CreateBitVector(phrase); return(bitVector == 0 || BitVector.CheckExactlyOneBitSet(bitVector)); }
/* Toggle the ith bit in the integer. */ public static bool IsPermutationOfPalindrome3(String phrase) { int bitVector = BitVector.CreateBitVector(phrase); return(bitVector == 0 || BitVector.CheckExactlyOneBitSet(bitVector)); }