please give me better algorithms..

My problem is “there are n numbers ,the numbers are divided into two sets,i have to find the minimum difference between the sets(n <1000)”.

1 Like

Check this: http://en.wikipedia.org/wiki/Partition_problem

1 Like