在字符串中删除特定的字符(栈和队列)
时间: 1ms 内存:1000M
描述:
题目:输入两个字符串,从第一字符串中删除第二个字符串中所有的字符。
例如,输入”They are students.”和”aeiou”,
则删除之后的第一个字符串变成”Thy r stdnts.”。
输入:
输入:
They are students.
aeiou
输出:
输出:
Thy r stdnts.
示例输入:
They are students.
aeiou
示例输出:
Thy r stdnts.
提示:
参考答案:
解锁文章
文章评论