Mental Model
Find the smallest part of a string that contains all characters of another string. We slide a window over the string, growing and shrinking it to find the minimum size that fits all needed characters.
Analogy: Imagine you have a long necklace with many beads and you want to find the shortest segment that contains all colors of beads you need. You move your fingers along the necklace, stretching and shrinking the segment until you find the smallest one with all colors.
S: A B C D E F G H I J K L M N O P T: C F H Window: [↑ ↓] The window moves over S to cover all chars in T.
