Find All Anagrams in a String at Yandex

Medium53.3% acceptance

This problem has 75.0% frequency at Yandex.

Problem Description

Given two strings `s` and `p`, return an array of all the start indices of `p`'s anagrams in `s`. You may return the answer in **any order**.

Read full problem and hints

Topics

Also asked at 17 companies


More Yandex Questions

View all Yandex questions