Databricks interview question

Typical leetcode stuff; complexity, testing, style, etc.