HashedIn by Deloitte interview question

Finding the 2nd Most Frequent String in an Array