Capital One Interview Question

Given a stream of transactions, detect duplicates within a 60-second window