Databricks interview question

2 coding, 1 behavior and 1 system design