Longest Common Prefix
Write longestCommonPrefix(strs) that returns the longest string that is a prefix of every string in the array. If there is no common prefix, return "".
longestCommonPrefix(["flower", "flow", "flight"]); // "fl"
longestCommonPrefix(["dog", "racecar", "car"]); // ""