GlobalLogic interview question

Question related to DSA, Python & Pyspark