Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Traffic Spike Counter
Medium
You are given an array of hourly traffic measurements and a spike detection config. Count how many sliding windows of a given size trigger a spike alert.
A window of size window triggers an alert if the fraction of hours within it where traffic exceeds threshold is greater than or equal to ratio.
...
Asked at:Yelp
More Yelp interview questions
- Conference Buddy Pairinghard
- Dependency Chain Endmedium
- Jaccard Word Similarityeasy
- Overlap String Joinmedium
- Top K Active Customersmedium
- Top K Keyword Productsmedium
- Phrase Tokenizerhard
- Product Search Enginemedium
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.