Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Top K Active Customers
Medium
You are given a list of support tickets where each ticket is [agent, customer, issue]. A customer's engagement score is the number of unique agents who responded to that customer (an agent responding multiple times to the same customer counts once). Return the top k customers by engagement score, breaking ties alphabetically by customer name.
...
Asked at:Yelp
More Yelp interview questions
- Top K Keyword Productsmedium
- Phrase Tokenizerhard
- Product Search Enginemedium
- Traffic Spike Countermedium
- Conference Buddy Pairinghard
- Dependency Chain Endmedium
- Jaccard Word Similarityeasy
- Overlap String Joinmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.