还有房子会出来么?# Living
B*1
1 楼
Given an set of n integers and an integer x. Design an algorithm to check
whether k integers add up to x in the given set.
The complexity should be O(n^(k-1) * logn)
whether k integers add up to x in the given set.
The complexity should be O(n^(k-1) * logn)