Filter Open Restaurants Within a City Range
Given a target city target_city, a range parameter range, and a list of Restaurant objects, return every restaurant that satisfies both conditions:
- The restaurant is currently open.
- The r...
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:
