Coding

Minimum Window Substring

Find the minimum window substring that contains all characters of another string.

Input: s = "a", t = "aa"

Output: "" (Empty String)

Explanation: The target requires two 'a's, but the source string only contains one, making it impossible to form a valid window.

Was asked at

Practice this question with AI

First session is free - no credit card required.

Go Premium

More interviews, more skills, more success.

Practice More Questions

Interview question asked to Software Engineers interviewing at nCino, UiPath, Tink and other companies. Original question asked: Minimum Window Substring.