dunnhumby interview question

pyspark optimization and memory management