Question d’entretien chez Paycom

Write a program to remove duplicate from a string.