title: Find maximum score or the maximum average score of candidate scores given in two dim array
body: <p>Question: Candidates can attempt an entrance exam as many times as they wish. The average score of all attempts is considered in the end. Given a list of scores. find the candidate with the highest score [ average score].</p>
  
  <pre><code>String scores[][] = {{"Ram","155"}, 
                      {"Shyam","145"},
                      {"Ram","156"},
                      {"Balram","159"},
                      {"Balram","150"},
                      {"Ram","135"},
                      {"Mira","156"},
                      {"Mira","152"},
                      {"Shyam","155"}};
  </code></pre>
  
  <p>Scores are given in two-dimensional array as above. Need suggestions to solve this in efficient way.</p>