Ugam interview question

Remove duplicate alphabet in a string