Subj : Re: stacking algorithm To : comp.programming From : Michael Jørgensen Date : Thu Aug 04 2005 12:48 pm "nobiscuit" wrote in message news:1123109611.311910.111650@f14g2000cwb.googlegroups.com... > I figure this has to be a pretty common problem. I did a google search > but didn't find anything. Can anyone suggest an algorithm which is > similar or does anyone have any cunning suggestions for an algorithm? This sounds exactly like the "bin packing problem". There's lots of it in google. -Michael. .