Character Assassination
Character Assassination easy Time Limit: 2 sec Memory Limit: 128000 kB
Last updated
Character Assassination easy Time Limit: 2 sec Memory Limit: 128000 kB
Last updated
Problem Statement:
You are given a string S of length N. Along with that you are also given a character c. Find the string S after removing all occurences of character c from the string. Input The first line of the input contains a single integer N and a character c. The second line of the input contains string S.
Constraints: 1 <= N <= 105 All characters in string S are loweracse english alphabets. Output Print the string S after removing all occurences of character c from the string. Example Sample Input: 5 e becde
Sample Output: bcd
link: