Databricks Interview Question

2 coding, 1 behavior and 1 system design