Problem 3657 · Medium

Find Loyal Customers

Teaching rule: a customer is loyal when at least three purchases fall inside the last 10 days up to a chosen date. Count the purchases in the window, then keep the customers that reach the minimum.

Open the interactive visualisation