Meta Interview Question

Given an input array of strings and value k, return the k most frequent strings