Write a function to find the longest common prefix string amongst an array of strings.
chenyufeng1991 / 14.-longest-common-prefix Goto Github PK
View Code? Open in Web Editor NEWWrite a function to find the longest common prefix string amongst an array of strings.