Databricks interview question

technical spark question