FareHarbor interview question

DNS access logs processing problem.