Summer Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
14
:
03
:
45
:
18
Back to Dashboard
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.
...
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.