Qentelli Interview Question

Remove duplicate characters from String in Java 8