2022-11-21 13:15:56 +00:00
|
|
|
#ifndef S0015_3SUM_HPP
|
|
|
|
#define S0015_3SUM_HPP
|
2022-11-03 10:25:01 +00:00
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
#include <unordered_map>
|
|
|
|
#include <algorithm>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
2022-11-30 10:20:36 +00:00
|
|
|
class S0015 {
|
2022-11-03 10:25:01 +00:00
|
|
|
public:
|
2022-11-30 10:20:36 +00:00
|
|
|
vector<vector<int>> threeSum1(vector<int>& nums);
|
|
|
|
vector<vector<int>> threeSum2(vector<int>& nums);
|
2022-11-03 10:25:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|