I\'ve got a task, to create a method that takes the elements of a string array, checks if there\'s a duplicate, then deletes it ( what I tried with "null") and the