title: How do I find the mode (most frequent element) of an array?
body: <p>Here is my array:</p>
  
  <pre><code>int myArray = new int[5];
  
  myArray[0] = 1;
  myArray[1] = 1;
  myArray[2] = 1;
  myArray[3] = 3;
  myArray[4] = 5;
  </code></pre>
  
  <p>What do I have to write if I want the program to find the mode of this array?</p>