Multiplier interview question

Implement a class Rate Limiter