NewProject Coding is here — build features and fix bugs in real codebases with an AI assistantSee what's new

Design a food delivery system that, given the user's coordinates, a list of restaurants with their locations, and a menu of items with prices, returns the lowest available price and the fastest possible delivery time. Assuming the delivery occurs at a constant speed of 1 per unit time.

Implement the FoodDeliverySystem class:

Test Cases
Input
Output
Expected