Here's an exercise from the "easy" section of Coderbyte.
Have the function ArrayAdditionI(arr) take the array of numbers and return "true" if any combination of numbers in the array can be added up to equal the largest number in the array, otherwise return "false". For example: if arr contains [4, 6, 23, 10, 1, 3] the output should return true because 4 + 6 + 10 + 3 = 23.
I can imagine an interative solution to this, but the complexity fills me with horror. What do I need to go study to solve this problem?
I'm reading up on the Combination function C(n,k). Is that the right path?