Deutsche Bank interview question

some spark RDD questions