GE HealthCare Interview Question

Dsa:print k most frequent elements from an array (leetcode qn)