Find an Anagram Inside
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
Given two strings, decide whether the second contains a contiguous stretch that is a rearrangement of the first. Explain how to check every candidate stretch efficiently.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.