how to determine: - 1st repeated character in string - or most repeated character in string - or longest prefix in array of words
Sigiloso
can use hashset for first question and hashmap for second question to store characters while iterating through string