← OYO questionsDesign a data structure with insert, check_if_exists, and kth_maximum_frequency
Filed under OYO
Design a data structure supporting: insert(x), check_if_exists(x), and kth_maximum_frequency() to return the element with the kth highest frequency.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.
Collected from public candidate posts and coding forums. Updated Nov 2026.