Mental Model
Find the longest starting part that all words share exactly.
Analogy: Imagine several friends starting a race together and running the same path. The longest common prefix is like the longest stretch of road they all run together before some take different turns.
words: [flower, flow, flight] indexes: 0123456789 prefix: ↑↑↑
