Atlassian interview question

[Interview Loop - Coding] Implement a Rate Limiter.