https://leetcode.com/problems/longest-common-prefix/description/
题目大意:Write a function to find the longest common prefix string amongst an array of strings.
在一组字符串中找最长公共前缀。
思路:vector结构体,最简单的思路就是最长前缀肯定也包含在第一个字符串里,故以第一个字符串为标准,都和后面的所有对比,遇到不同的改成“\0”,这样‘\0’前面的就是了。实际上这样做是不对的。可能他所给的字符串里本身就会有你作为标记的这个字符
</