Rest API - Rate Limiting and Throttling
You have a list of API response times in milliseconds:
times = [120, 100, 130, 90, 110, 150]. Using a sliding window of size 3, how would you find the maximum average response time for any window?