Given an array of integers, find a sum from those given integers such that the value of sum maximized but smaller than or equal to x (given that x is <= total sum of values of array).
Can anyone help me?
created
last reply
- 2
replies
- 873
views
- 3
users
- 1
link