Question d’entretien chez Databricks

The algorithm interview included a LeetCode Hard–level problem.