leetcode/include/s0016_3sum_closest.hpp

15 lines
213 B
C++
Raw Normal View History

2022-11-21 13:15:56 +00:00
#ifndef S0016_3SUM_CLOSEST_HPP
#define S0016_3SUM_CLOSEST_HPP
2022-11-04 07:03:06 +00:00
#include <vector>
#include <algorithm>
using namespace std;
2022-11-30 10:20:36 +00:00
class S0016 {
2022-11-04 07:03:06 +00:00
public:
int threeSumClosest(vector<int>& nums, int target);
};
#endif