Pregunta de entrevista de Amiti Software Technologies

For the coding round. Eliminating the overlapping values in a 2D Array?