Ugam Interview Question

ques) How to remove duplicates in string