title: Get largest value from array without sorting
body: <p>I am creating a somewhat simple game, and I need to keep track of what players have what score. 25 people will be playing this game at one time, these players will be put into an array:</p>
  
  <pre><code>public static int[] allPlayers = new int[25];
  </code></pre>
  
  <p>Depending on a correct answer, the current player will earn 100 points, let's say. So, if player 1 were up, the code would be something similar to the following:</p>
  
  <pre><code>allPlayers[0] += 100;
  </code></pre>
  
  <p>If player 3 were up, the code on a correct answer would be:</p>
  
  <pre><code>allPlayers[2] += 100;
  </code></pre>
  
  <p>At the end of the game, I want to determine which player has the accumulated the most amount of points. Please note that I <strong>cannot</strong> simply sort this array because I need the order of the array to remain intact. If the order is <em>not</em> left intact, I will not be able to tell which player had which points to his/her name.</p>
  
  <p>I'm interested to hear what you all have to say and I look forward to your responses.</p>
  
  <p>Thank you very much,</p>
  
  <p>Evan</p>