Databricks interview question

three easy and one extremely hard