Pregunta de entrevista de E.Near

Create a method to check if there's duplicates from a given array