Pergunta de entrevista da empresa Likewise

Write a function to remove duplicates from a sequence.