Databricks Interview Question

smallest missing positif integer