Pergunta de entrevista da empresa Bright Data

a function that removes all duplicates in a string array