Find K most frequent elements | eBay Interview Question