Mental Model
Find the longest sequence of characters that appears exactly the same in both strings without skipping any characters.
Analogy: Imagine two friends reading two different books and trying to find the longest exact sentence that appears in both books without any changes or breaks.
String1: a b c d e f g h String2: x y c d e z We look for the longest continuous matching part: c d e
