leetcode/include/s0039_combination_sum.hpp

15 lines
240 B
C++
Raw Normal View History

2022-11-22 13:31:25 +00:00
#ifndef S0039_COMBINATION_SUM_HPP
#define S0039_COMBINATION_SUM_HPP
#include <algorithm>
2022-11-30 10:20:36 +00:00
#include <vector>
2022-11-22 13:31:25 +00:00
using namespace std;
2022-11-30 10:20:36 +00:00
class S0039 {
2022-11-22 13:31:25 +00:00
public:
vector<vector<int>> combinationSum(vector<int>& candidates, int target);
};
#endif