๐ 1. ๋ฌธ์ ์ค๋ช 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 "".Note: All given inputs are in lowercase letters a-z. a-z์ ์๋ฌธ์ ์ํ๋ฒณ์ผ๋ก ๋จ์ด๋ค๋ก ๊ตฌ์ฑ๋ ๋ฐฐ์ด์ด ์ฃผ์ด์ก์ ๋, ๋ชจ๋ ๋ฌธ์์ด์ ๊ณตํต๋๋ ๊ฐ์ฅ ๊ธด ์ ๋์ฌ๋ฅผ ๋ฆฌํดํ๋ผ. ์ ๋์ฌ๊ฐ ์๋ ๊ฒฝ์ฐ์๋ ๋น ๋ฌธ์์ด์ ๋ฆฌํดํ๋ผ. Example 1Input: ["flower","flow","flight"] Output: "fl" Example 2Input: ["dog","racecar","car"] Output..