Interview Guides

Given two strings s and pattern, return the smallest substring of s that contains every character in pattern, including duplicates. If no such substring exists, return an empty string. Implement a function that performs this search efficiently.
1 <= len(s) <= 10^51 <= len(pattern) <= 10^5s and pattern contain printable ASCII characters"" if no valid substring exists