Superhuman Interview Question

first a code review on multithreading, then implementing a rate limiter.