Given integer array nums and integer k, return the k most frequent elements from highest to lowest frequency. The answer is guaranteed unique.
nums
k