15 lines
221 B
C++
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
|