This commit is contained in:
2022-11-30 18:20:36 +08:00
parent b13cfa00bb
commit 72555b19e0
132 changed files with 332 additions and 334 deletions

View File

@@ -1,6 +1,6 @@
#include "s0014_longest_common_prefix.hpp"
string Solution::longestCommonPrefix(vector<string>& strs) {
string S0014::longestCommonPrefix(vector<string>& strs) {
string o{""};
int size = strs.size();
int minLen = strs.at(0).length();