leetcode/include/s0039_combination_sum.hpp

16 lines
263 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 <vector>
#include <algorithm>
#include <iterator>
using namespace std;
class Solution {
public:
vector<vector<int>> combinationSum(vector<int>& candidates, int target);
};
#endif