Mphasis interview question

Scala and spark