Count Dropped Requests Under Three Rate Limits

Asked at Oracle · Coding Questions · Difficulty: Medium · Last asked Nov 10, 2026

A service protects itself with three rate limits that apply at the same time. You are given the arrival times of all requests, in order, and must report how many of them the service rejects.

Loading the problem…