You are given two strings s and p, return true if s contains a substring that is an anagram of p, and false otherwise.An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, typically using all the original letters exactly once. For example, "listen" is an anagram of "silent".
s = "eidbaooo"
p = "ab"
True
The substring "ba" in "eidbaooo" is an anagram of "ab".
s = "eidboaoo"
p = "ab"
False
No substring in "eidboaoo" is an anagram of "ab".
s = "abc"
p = "bac"
True
The string "abc" contains itself, which is an anagram of "bac".
s = "eidbaooo"
p = "ab"
True