Pergunta de entrevista da empresa FDM Group

Write an algorithm to find the first non-unique number from an array