Atlassian interview question

Code challenge write a rate limiter