title: Number of possible palindrome anagrams for a given word
body: <p>I have to find No. of  palindrome anagrams are possible for a given word.
  Suppose the word is <code>aaabbbb</code>.My approach is</p>
  
  <blockquote>
    <ol>
    <li><p>Prepare a hash map that contains no. of time each letter is appearing</p>
    
    <p>For my example it will be</p>
  
  <pre><code>a---&gt;3
  b---&gt;4
  </code></pre>
    
    <ol>
    <li><p>If length of string is even then no. of occurrence of each letter should be even to form palindrome     of given word else no of
    palindrome anagrams is 0</p></li>
    <li><p>If length of string is odd then at max one occurrence of letter can be odd and other should be even.</p></li>
    </ol></li>
    </ol>
  </blockquote>
  
  <p>This two above steps was for finding that weather a given word can can form palindrome or not.</p>
  
  <p>Now for finding no of palindrome anagrams, what approach should I follow?</p>