Hard
We can scramble a string s by recursively splitting it into two non-empty substrings and optionally swapping them, then scrambling each part. Given two strings s (as s) and t, return true if t is a scrambled string of s.
Input: s = "great", t = "rgeat" Output: true
Input: s = "abcde", t = "caebd" Output: false
Input: s = "a", t = "a" Output: true