21 lines
297 B
C++
21 lines
297 B
C++
|
#ifndef S0015_3SUM
|
||
|
#define S0015_3SUM
|
||
|
|
||
|
#include <vector>
|
||
|
#include <unordered_map>
|
||
|
#include <algorithm>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class Solution1 {
|
||
|
public:
|
||
|
vector<vector<int>> threeSum(vector<int>& nums);
|
||
|
};
|
||
|
|
||
|
class Solution2 {
|
||
|
public:
|
||
|
vector<vector<int>> threeSum(vector<int>& nums);
|
||
|
};
|
||
|
|
||
|
#endif
|