dwins interview question

SQL, Spark and Python coding challenge.