leetcode/include/s0014_longest_common_prefix.hpp
Sainnhe Park 20463a604d
All checks were successful
continuous-integration/drone/push Build is passing
s0014
2022-11-03 16:27:54 +08:00

15 lines
221 B
C++

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