Python easy to understand
python\ndef min_window(S: str, T: str) -> str:\n    """\n    Minimum Window Substring\n\n    :param str S:\n    :param str T:\n    :return str:\n    """\n    Tc
```python\ndef min_window(S: str, T: str) -> str:\n    """\n    Minimum Window Substring\n\n    :param str S:\n    :param str T:\n    :return str:\n    """\n    Tc = Counter(T)\n    Sc = Counter()\n\n    best_i = -sys.maxsize\n    best_j = sys.maxsize\n\n    i = 0\n\n    for j, char in enumerate(S):\n        Sc[char] += 1\n\n        while Sc & Tc == Tc:\n            if j - i < best_j - best_i:\n                best_i, best_j = i, j\n\n            Sc[S[i]] -= 1\n            i += 1\n\n    return S[best_i : best_j + 1] if best_j - best_i < len(S) else ""\n```
['Python']