Amazon interview question

Given array of strings, return the k most frequent strings.