Data Structure - character that repeats itself
Given a string of characters (let us say there are about 100 characters or more in the string), what is the most efficient method to use for finding out the character that repeats itself the most?Is it possible for us to use some kind of data structure for this?, if this is so,which is the best one that needs to be used?
-
Interview Candidate
- Nov 27th, 2007
- 12
- 2054
Showing Answers 1 - 12 of 12 Answers
Data Structure - character that repeats itself