Pergunta de entrevista da empresa APPS Team Technologies

To find the missing elements in array?