Order Assignment with Round Robin and Consistent Hashing
Problem: Order Assignment with Round Robin and Consistent Hashing
DoorDash has multiple backends/workers and needs to assign orders to healthy workers.
Implement an order assigner with two modes....
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
