Broadcom Interview Question

Design a rate limiter using sliding window algorithm