删除一个字符串中前面出现过的字符,只保留首次出现的字符, 例如
"hello it is a test and you can do it will"。
输出结果为:"helo itsandyucw"
这道题你会答吗?花几分钟告诉大家答案吧!
扫描二维码,关注牛客网
下载牛客APP,随时随地刷题