Determine if one string is a scrambled form of another by recursive partition and swap.
{ "s1": "great", "s2": "rgeat" }
true
{ "s1": "abcde", "s2": "caebd" }
false
{ "s1": "a", "s2": "a" }
Sign in to Run Code and Submit