Intuit Interview Question

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