Stripe interview question

Implement a rate limiter