Simon AI Interview Question

Using SQL and Python , denormalize data and use it to segment customers.