Assign Delivery Robots to Pickup Items on a Grid

Problem

Given an m × n grid, the coordinates of k Nuro bots, and the coordinates of k pickup items, assign items to bots. Follow-up: how should obstacles in the grid be handled?

**The origin...

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: