Implement consistent hashing ring | DoorDash Interview Question