There are two strings 'A' and 'B' given. You have to modify the strings such that, remove all the common characters of both the strings. After that concatenate the remaining uncommon characters of both the strings.
Write a function
solve that have the following parameter(s):
1.) A: a string
2.) B: a string
There are the strings A and B:
A = lip
B = pin
The function will return,
The common characters of A and B are:
The un-common characters of A and B are:
• The length of the string will be greater than or equal to 1 and less than or equal to 100.