Pinterest Interview Question

Design a rate limiter: system design