0% found this document useful (0 votes)
47 views2 pages

1D1 Difference Problem

1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem

Uploaded by

quycoctu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

1D1 Difference Problem

1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem1D1 Difference Problem

Uploaded by

quycoctu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

An optimization problem

 Given a collection of numbers, partition them into


two groups such that the difference in the sums
is as small as possible.

 Example: 7, 10, 13, 17, 20, 22


These numbers sum to 89

I can split them into {7, 10, 13, 17} sum is 47


{20, 22} sum is 42
Difference = 5.
7 10
Can we do better?
17 13
20 22
1
44 45
2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy