Databricks interview question

Coding / System Design Question