Pergunta de entrevista da empresa Databricks

Sorting a matrix by find a missing number