Amazon Interview Question

how would you measure user purchase behavior?