DIY: Minimum Window Substring
Solve the interview question "Minimum Window Substring" in this lesson.
We'll cover the following...
Problem statement
Suppose you are given two strings, say S
and T
. You have to find the smallest window substring of T
. The smallest window substring is the shortest sequence of characters in S
that includes all of the characters present in T
with the same frequency.
Access this course and 1400+ top-rated courses and projects.