HubSpot Intern OA

Timeline:

9.17 投GHC链接

9.19 发OA

它家⽐较特殊,不用在线编程平台,让做一个mini project,

OA要求通过get请求得到数据, 按要求处理之后,再post回去。

题⽬是万年不变的会议安排

HubSpot Project
It’s your first day at HubSpot, and you’re in charge of writing the logic to send invitations to p special two-day event in each country for HubSpot’s partners in those countries. We need to find the dates that’ll work best based on survey results that partners have sent in and determine how many people can attend.
You’re provided with an API that gives you a list of partners, their countries, and which dates they’re available in ISO 8603 format.
Another team will send out the invitations, but you need to tell them when we should host the event and who should attend by POSTing to an API.
The date you send in for the country should be the starting date of the two day period where the most partners can make it for both days in a row. In case of multiple dates with the same number of partners, pick the earlier date. If there are no two days in a row when any partners can make it, return null .