in reply to Re^4: Divide array of integers into most similar value halves
in thread Divide array of integers into most similar value halves
On thinking a bit more it seems that the problem is roughly equivalent with calculating the sum of each item of the power set, which is O(2**N), and I see no obvious way to reduce that to O(N**3).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: Divide array of integers into most similar value halves
by ikegami (Patriarch) on Sep 01, 2008 at 20:42 UTC | |
by moritz (Cardinal) on Sep 01, 2008 at 20:50 UTC |