1.Find and print the uncommon characters of the two given strings S1 and S2.
2.Here uncommon character means that either the character is present in one string
or it is present in other string but not in both.
3.The strings contains only lowercase characters and can contain duplicates.
4.You have to complete the function uncommon() which should print the uncommon characters of the two given strings S1 and S2.
5.Print the uncommon characters in sorted order.
Input Format
1.First line contains the first String. 2.Second line contains the second String.
Output Format
Print the uncommon charcters of the two given strings in sorted order
Constraints
1 <= |S1|, |S2| <= 10^5
Notice
Try First, Check Solution later
1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.Example
Input
characters alphabets
Output
bclpr