sort boxes according to volume.volume pair consists of(l,b,h). take first box having higher volume in sorted order with attribute (l,b,h) choose next volume box in sorted order.take its pair (l,b,h) do a combination between these pairs comparing this attributes in all possible ways and if their exists a combination break this and proceed with next box and if no combination exists these boxes cant be packed.
combination means trying some way to achieve all elements in second pair having one element greater than that in first pair.. -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
