Pregunta de entrevista de Intuit

Implement rate limiter: public boolean rateLimit(String key, int intervalInSecs, int maxLimit)