DesignCrowd interview question

Solve a calendar-related coding task.