Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 361 Bytes

File metadata and controls

11 lines (8 loc) · 361 Bytes

Problem 2: Minimum Inclusive Span (Minimum Window Substring)

Problem Statement

Given two strings s and t, return the minimum window substring of s such that every character in t (including duplicates) is included in the window.

Input Format

  • Two strings s and t.

Example

Input: s = "ADOBECODEBANC", t = "ABC"
Output: "BANC"