Uber Interview Question

Coding challenge: write a rate limiter in Java.