Given an array of strings, strs, write a function to find the longest common prefix string in strs. If there is no common prefix, return an empty string, "".
Constraints:
strs.length
strs[i].length
strs[i] consists of only lowercase English letters.
Given an array of strings, strs, write a function to find the longest common prefix string in strs. If there is no common prefix, return an empty string, "".
Constraints:
strs.length
strs[i].length
strs[i] consists of only lowercase English letters.