문제 설명 문제 Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". 입출력 예시 Input: strs = ["flower","flow","flight"] Output: "fl" Input: strs = ["dog","racecar","car"] Output: "" Explanation: There is no common prefix among the input strings. 제한사항 1