Finding all possible combinations of numbers to reach a given sum

前端 未结 30 3056
一个人的身影
一个人的身影 2020-11-21 06:39

How would you go about testing all possible combinations of additions from a given set N of numbers so they add up to a given final number?

A brief exam

30条回答
  •  孤独总比滥情好
    2020-11-21 06:56

    To find the combinations using excel - (its fairly easy). (You computer must not be too slow)

    1. Go to this site
    2. Go to the "Sum to Target" page
    3. Download the "Sum to Target" excel file.

      Follow the directions on the website page.

    hope this helps.

提交回复
热议问题