Flywheel Digital Interview Question

remove duplicate characters from a given string