in reply to Re: Quick way to find the letter with the most occurences in a string
in thread Quick way to find the letter with the most occurences in a string

If there are several characters with most occurences, this code will report just one of them.
  • Comment on Re^2: Quick way to find the letter with the most occurences in a string

Replies are listed 'Best First'.
Re^3: Quick way to find the letter with the most occurences in a string
by JavaFan (Canon) on May 19, 2010 at 21:17 UTC
    this code will report just one of them
    Indeed. As specified. Notice the title: ...find the letter.... It did not say ...find the letters....
      Shouldn't it be a letter then? :)