Given two strings s1 and s2 of the same length, return true if some permutation of s1 can break some permutation of s2, or if some permutation of s2 can break some permutation of s1. Otherwise, return false.
A string x can break a string y (both of length n) if x[i] >= y[i] in alphabetical order for every index i where
Constraints:
s1.length
s2.length
s1 and s2 consist only of lowercase English letters.
Given two strings s1 and s2 of the same length, return true if some permutation of s1 can break some permutation of s2, or if some permutation of s2 can break some permutation of s1. Otherwise, return false.
A string x can break a string y (both of length n) if x[i] >= y[i] in alphabetical order for every index i where
Constraints:
s1.length
s2.length
s1 and s2 consist only of lowercase English letters.