xqian / cpp_projects

cplusplus projects for myself
2 stars 2 forks source link

Longest Common Prefix #25

Closed xqian closed 11 years ago

xqian commented 11 years ago

Write a function to find the longest common prefix string amongst an array of strings. http://leetcode.com/onlinejudge#question_14