This commit is contained in:
14
include/s0014_longest_common_prefix.hpp
Normal file
14
include/s0014_longest_common_prefix.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
Reference in New Issue
Block a user