Back to problems

Spam Caller Counter

Algorithm · Pinterest · Medium

You are creating a daily spam digest from call records and spam reports. The goal is to count how often each caller is associated with reported spam. You receive: calls, a collection of call records. Each record is [caller, receiver, timestamp], with the timestamp written in ISO 8601 form: "YYYY-MM-DDTHH:MM:SS". reports, a collection of spam-report records. Each record is [receiver, timestamp], meaning that the receiver reported a spam call at that time. window, a…

Checking your access…