Write a function to find the longest common prefix string amongst an array of strings.
Files
0014.longest-common-prefix
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Write a function to find the longest common prefix string amongst an array of strings.