Expedia Interview Question for Developer Program Engineers
- 0of 0 votes
Given a string, print the character which appears the maximum number of times in the string.- kumar.prince6 February 20, 2014 in United States
The string will contain only ascii characters. If there is a tie in the maximum number
of times a character appears in the string, print the character which appears first in the string.
1. The length of the string will be between 1 and 10000, inclusive.
2. Make sure you don't print anything other than a single character in the function. Otherwise, your solution will be marked wrong.
3. You only need to complete the function printMaximumOccurringCharacter.
Sample Input #00
Sample Output #00
Sample Input #01
Sample Output #01
Sample Input #02
Sample Output #02
| Report Duplicate | Flag | PURGE
Expedia Developer Program Engineer Algorithm
Interview Type: Phone Interview
Open Chat in New Window