Two strings s1 and s2 are considered s1 can be transformed into s2 by swapping the positions of two characters exactly
Given two anagrams s1 and s2, return the minimum value of s1 and s2 are
Constraints:
s1.length
s2.length s1.length
s1 and s2 contain only lowercase English letters from the set {'a', 'b', 'c', 'd', 'e', 'f'}.
s2 is an anagram of s1.
Two strings s1 and s2 are considered s1 can be transformed into s2 by swapping the positions of two characters exactly
Given two anagrams s1 and s2, return the minimum value of s1 and s2 are
Constraints:
s1.length
s2.length s1.length
s1 and s2 contain only lowercase English letters from the set {'a', 'b', 'c', 'd', 'e', 'f'}.
s2 is an anagram of s1.