dunnhumby Interview Question

Use case you have done