Refactor
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user