StarTree interview question

Design Rate Limiter (coding + low level design)