Longest Common Prefix
๐ง Problem
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 "".
๐ท๏ธ Tags
String
๐ Difficulty
Easy
โ
Success Rate: 39.3%
๐ฅ Submissions: 3,891,029
๐ Accepted: 1,529,495
โค๏ธ Reactions
๐ Likes: 7636
๐ Dislikes: 2930