HashedIn by Deloitte Interview Question

Finding the 2nd Most Frequent String in an Array