Example: If there are two strings:- s1 = \'cde\' s2 = \'abc\'
Output: \'deab\'
I converted the string into a list and compared two lists.
a = \'cde\