Given an array of strings, find and return the longest common prefix string among all the strings.
If there is no common prefix, return an empty string ''.
Input strings are given as a comma-separated list.
Input: A comma-separated list of strings.
Output: A string — the longest common prefix, or '' if none.
Input: flower,flow,flight
Output: fl
Explanation: All three strings share 'fl' as the longest common prefix.Input: dog,racecar,car
Output:
Explanation: There is no common prefix among the three strings.Input: interview,internal,interact
Output: inter
Explanation: All three start with 'inter'.1 <= strs.length <= 2000 <= strs[i].length <= 200strs[i] consists of lowercase English letters