Directory Registry
DoorDash interview questions · Hard · Coding round · 6 tests
Design a key-value store organized like UNIX file paths (a DoorDash Senior+ virtual onsite question) - the catch is that GetValue must climb toward the closest ancestor that has a value instead of only checking the exact path.
The full question, tests and reference solution are available with a plan that includes DoorDash.
Run your code with Ctrl+Enter to see results.