Algorithm · Amazon · Easy
You receive a file of website activity records. Each record includes a timestamp and a customer identifier. Return the customers who appeared in the logs on at least two separate calendar days. Requirements: Create a function that scans these records and returns every customer who accessed the site on more than one distinct date. Input: The log data is provided as lines, with each line holding a timestamp followed by a customer name. Timestamps use the format…
Checking your access…