Pregunta de entrevista de Databricks

Sorting a matrix by find a missing number