Databricks Interview Question

Coding assignment. Signed NDA so cannot share.