Consistent Hashing Ring
DoorDash interview questions · Hard · Coding round · 8 tests
The redesign step of the DoorDash debugging round: candidates fix a broken round-robin dispatcher, then are asked to rebuild it with consistent hashing so node churn remaps a minimal fraction of keys.
The full question, tests and reference solution are available with a plan that includes DoorDash.
Run your code with Ctrl+Enter to see results.