Find top-K frequent values with tiebreaks
Company: Meta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates algorithmic problem-solving and data-structure competencies, focusing on frequency counting, multi-criteria tie-breaking (smaller numeric value then earlier first-occurrence), and performance considerations for very large arrays.