Available question text
Determine whether s2 can be obtained from s1 by recursively splitting s1 into two non-empty parts and optionally swapping the parts at each split (i.e., whether s2 is a "scramble" of s1). The core challenge is to explore all split positions and swap/no-swap combinations efficiently (often requiring recursion + memoization or DP with character-count pruning).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 87. Scramble String
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source