Sollicitatievraag bij ADP

Create an algorithm that takes a String and returns the same string without duplicate letters. Input: "AaBCDee" Output: "ABCDe"