Implement a brute-force recursive function bool can_sum(int target_value, const int *numbers);
#13
Labels
bool can_sum(int target_value, const int *numbers);
#13
Return values:
Samples
Sample 1
because there are three possible solutions: 3+4, 4+3 and 7.
Sample 2
because it's impossible to build a 7 with the numbers in the array.
The text was updated successfully, but these errors were encountered: