Permutation in String at Yandex
Medium48.4% acceptance
This problem has 75.0% frequency at Yandex.
Problem Description
Given two strings `s1` and `s2`, return `true` if `s2` contains a permutation of `s1`, or `false` otherwise. In other words, return `true` if one of `s1`'s permutations is the substring of `s2`.
Read full problem and hintsTopics
Also asked at 14 companies
More Yandex Questions
Longest Subarray of 1's After Deleting One ElementMediumLongest Substring Without Repeating CharactersMediumString CompressionMediumFind K Closest ElementsMediumTwo SumEasy
View all Yandex questions