Approach hintTry it first, then revealHide
Count the characters required from t and how many are still missing. Extend the right end until nothing is missing, then shrink from the left as far as possible, updating the best window each time.
Count the characters required from t and how many are still missing. Extend the right end until nothing is missing, then shrink from the left as far as possible, updating the best window each time.