Back to QuestionsPractice with This Question
Find All Anagrams in a String
48.3K views•Asked at Cisco•
Medium
Question Explain
Given two strings $s$ and $p$, return an array of all the starting indices of $p$'s anagrams in $s$. The order of output does not matter.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.