Covered Service Zones
DoorDash interview questions · Medium · Coding round · 6 tests
With one grid showing where drivers are available and another showing where deliveries are requested, count the connected demand regions in which every cell has driver coverage.
The full question, tests and reference solution are available with a plan that includes DoorDash.
Run your code with Ctrl+Enter to see results.