You get two strings s1 and s2. Rearrange the letters of s1 in any way you like. Return true if one such arrangement can be found inside s2 as a block of letters that sit next to each other. Return false if none can.
Examples
Example 1:
Input: s1 = "abc", s2 = "xcbaxx"
Output: true
Explanation: The part "cba" of s2 has the same letters as "abc".
Example 2:
Input: s1 = "abc", s2 = "acxbxc"
Output: false
Explanation: No continuous part of s2 with 3 letters has exactly a, b and c.
Example 3:
Input: s1 = "ab", s2 = "b"
Output: false
Explanation: The string s2 is shorter than s1, so it cannot hold all the letters of s1.