Back to problems

Best Meeting Date by Country

Algorithm · Hubspot · Medium

A virtual summit is being organized with attendees joining from different countries. Each person submits a list of dates (in "YYYY-MM-DD" format) when they can participate. You receive a list participants, where every element has a name, a country, and an availableDates array. Your task is to determine the meeting schedule according to the following rules: Meetings are planned independently per country. A country may hold at most one meeting. For each country, the meeting…

Checking your access…