Atlassian Interview Question

Design and code Rate limit algorithm