Remove duplicate characters from a string 

This is not a Code eval challenge. 
This is a common interview question. Hence I solved this problem