Databricks interview question

set implementation - not the typical leetcode style