leetcode/include/s0014_longest_common_prefix.hpp
2022-11-30 18:20:36 +08:00

15 lines
226 B
C++

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