Next | The Perl Hardware Store | DC.pm Version | 33 |
Non-toy example: Division of treasure into shares
You have a pile of treasures with known values, and a target value
Select some treasures whose total value is the target
This is the Subset-Sum Problem
Next | Copyright © 2003 M. J. Dominus |