摘要:
方法一 循环: class Solution {public: string longestCommonPrefix(vector<string>& strs) { if(strs.empty()) { return ""; } //注意为空的情况 string str1; //从vector中取 阅读全文
posted @ 2019-01-04 19:32
zihao,wang
阅读(155)
评论(0)
推荐(0)
浙公网安备 33010602011771号