Tookitaki interview question

Related to Spark framework and scala