Implement a consistent hashing ring | DoorDash Interview Question