Divide a set into two subsets with a specific difference between the sum of them

前端 未结 0 420
栀梦
栀梦 2021-01-02 06:03

I have a set A = {1,3,2,4,9,5,6,11} and I want to divide it into two subsets, the difference between the summation of them is equal to n (for example 5) A1 = {1,2,4,5,6} A2

相关标签:
回答
  • 消灭零回复
提交回复
热议问题