Home
Topics
Practice
Roadmap
DSA Tracker
Code Editor
Tech Blogs
More
Sign in
Get started
Loading question...
Feedback
Scramble String
Hard
00:00
0 users online
Share
Description
Solution
Submissions
Discussion
Determine if a string is a scramble of another string.
Sample Input:
"great", "rgeat"
Sample Output:
true
Hints
Hint 1
Use recursion with memoization
Hint 2
Try all possible split points
Hint 3
Check both normal and swapped splits
Code Editor
Reset
Run
Save
Loading...