leetcode/include/s0014_longest_common_prefix.hpp
2022-11-21 21:15:56 +08:00

15 lines
229 B
C++

#ifndef S0014_LONGEST_COMMON_PREFIX_HPP
#define S0014_LONGEST_COMMON_PREFIX_HPP
#include <string>
#include <vector>
using namespace std;
class Solution {
public:
string longestCommonPrefix(vector<string>& strs);
};
#endif