Pregunta de entrevista de Databricks

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