Remove Duplicated Characters In Given String In a given string, the following code removes duplicated characters within O(n) time and does not increase memory space: Sourcecode is here. Many thanks to Xuan, Yinghai and Shiqi. 赞过:赞 正在加载…… 相关