Qentelli interview question

Remove duplicate characters from String in Java 8