Chen
BAN USER
Questions (1)
Comments (3)
Reputation 40
- 0of 0 votes
AnswersYou are given an array of integers. Find all the combinations of the numbers of the array, that sum to another number(might be different for different combination) from the array.
- Chen in United States
One property of the array: The maximum number of the array will not be much greater than the others.| Report Duplicate | Flag | PURGE
Facebook Software Engineer / Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
You can assume all the numbers are positive. Even if they're not they can be mapped to positive integers if it's necessary for the solution!!!
- Chen October 22, 2012But about the key, it can be any number.