Pergunta de entrevista da empresa Capital One

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