Your question is Minimum Window Substring Match. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Given two strings s and t, return the smallest substring of s that contains every character of t, including duplicates. If no such substring exists, return an empty string. The input is case-sensitive, and the output must be the minimum-length valid window.
def min_window(s, t):