Longest Common Prefix — November 26, 2026
Find the longest common prefix among an array of strings. If there is no common prefix, return an empty string "". Input: An array of strings, strs. Output: The longest common prefix string. Constraints: 1 <= strs.length <= 200 0 <= strs[i].length <= 200 strs[i] consists of only lowercase English le