17 lines
272 B
C++
17 lines
272 B
C++
#ifndef S0015_3SUM_HPP
|
|
#define S0015_3SUM_HPP
|
|
|
|
#include <vector>
|
|
#include <unordered_map>
|
|
#include <algorithm>
|
|
|
|
using namespace std;
|
|
|
|
class S0015 {
|
|
public:
|
|
vector<vector<int>> threeSum1(vector<int>& nums);
|
|
vector<vector<int>> threeSum2(vector<int>& nums);
|
|
};
|
|
|
|
#endif
|