Concept Flow - Longest Common Prefix
Start with first string as prefix
Compare prefix with next string
Reduce prefix length until it matches
Move to next string
All strings checked?
No→Repeat comparison
Yes
Return prefix
Start with the first string as the prefix. Compare it with each next string, reducing prefix length until it matches. Repeat for all strings, then return the prefix.