Amazon Interview Question

Find the most frequent 3 continuous buying record.