Implement rate limiter, top-K, scheduler algorithms | Uber Interview Question