Intuit interview question

Asked to implement a rate limiting step into an api call, via a sliding window algorithm.