Given a list of strings words, return the longest common prefix shared by all words.
If there is no common prefix, return an empty string "".
This powers autocomplete — when you type in a search box, the app finds the longest prefix matching all suggestions and pre-fills it.