Virtu Financial interview question

Very simple time based rate limiter.