title: How do I count the number of occurrences of a char in a Multiple String?
body: <p>My question is so special ,</p>
  
  <p>giving those Strings </p>
  
  <pre><code>          123456  
  String1   ABCD
  String2    BDD
  String3     CDEF
  </code></pre>
  
  <p>As we can see </p>
  
  <ul>
  <li>the number of A in column 1 is 1. </li>
  <li>the number of B in column 2 is 2.</li>
  <li>the number of C in column 3 is 2.</li>
  <li>the number of D in column 3 is 1.</li>
  <li>the number of D in column 4 is 3.</li>
  <li>the number of E in column 5 is 1.</li>
  <li>the number of F in column 6 is 1.</li>
  </ul>
  
  <p>the purpose of those calculs is to get the char that appear the most in each Column.</p>
  
  <p>what is the best DataStructure i can use to handle this issue? knowing that i know the lenght of each String only at the Execution time.</p>
  
  <p>the information i know already is the n° of column where each String begin.</p>
  
  <p>the idea i have and i think it's not the best is iterating over the column n° and couting how much each char appear and finally finding that most occurred char.</p>
  
  <p>Do you have some better solution?</p>
  
  <p><strong>info:</strong> My string could contain only those char[A,B,C,D,E,F]
  Thank you.</p>