You are given two strings s1 and s2, each of length
You can perform the following operation on s1 any number of times:
Choose two indices i and j such that j - i s1[i] and s1[j].
Return true if you can make s1 equal to s2, or false otherwise.
Constraints:
s1.length s2.length
s1 and s2 consist only of lowercase English letters.
You are given two strings s1 and s2, each of length
You can perform the following operation on s1 any number of times:
Choose two indices i and j such that j - i s1[i] and s1[j].
Return true if you can make s1 equal to s2, or false otherwise.
Constraints:
s1.length s2.length
s1 and s2 consist only of lowercase English letters.