/find_string_remove_characters

finding characters in the string of given input

Primary LanguageC++

find_string_remove_characters

finding characters in the string of given input

input1 ="wheelsarewe" input2 = wr o/p = "heelsaewe"

Given two strings, modify 1st string such that all the common characters of the 2nd string has to be removed. The uncommon characters of the 2nd string has to be concatenated with uncommon characters of the 1st string.

       Test data: –

string 1- “aacdb” and string 2 – “gafd” output – “cbgf” string 1- “goodwill” and string 2 – “school” output – “gdwisch”