SeedLegals interview question

Design a rate limiter. An interface will be given with limit method.