XP is just a number | |
PerlMonks |
Re^2: Challenge: Twist On Bin Packingby Limbic~Region (Chancellor) |
on Apr 07, 2006 at 16:32 UTC ( [id://541901]=note: print w/replies, xml ) | Need Help?? |
japhy,
This solution is valid AFAICT since it produces 4 bins and if you were filling them left to right none of the remaining items could fit in the current bin. In the event of ties (different arrangements producing the same number of bins) either solution is acceptable. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|