Search
⌘K

Leetcode 2686. Immediate Food Delivery III

Design a dynamic system that supports adding/removing delivery agents and assigning the best available agent to incoming orders in real time, optimizing for proximity or delivery time. The core challenge is maintaining efficient updates and queries (nearest/lowest-cost selection) under frequent dynamic changes, requiring spatial indexing or priority data structures.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.