[algogeeks] Find the maximum boxes which can fit each other?

2012-03-24 Thread Ratan
You are given a lot of cuboid boxes with different length, breadth and height. You need to find the maximum subset which can fit into each other. For example: If Box A has LBH as 7 8 9 If Box B has LBH as 5 6 8 If Box C has LBH as 5 8 7 If Box D has LBH as 4 4 4 then answer is A,B,D A box can fit

Re: [algogeeks] Find the maximum boxes which can fit each other?

2012-03-24 Thread atul anand
it is modified longest increasing subsequence problem.. On 24 Mar 2012 12:26, Ratan success.rata...@gmail.com wrote: You are given a lot of cuboid boxes with different length, breadth and height. You need to find the maximum subset which can fit into each other. For example: If Box A has LBH

Re: [algogeeks] Find the maximum boxes which can fit each other?

2012-03-24 Thread Ratan
@atul can u plzz describe in detail the algo of modified subsequence prob used here i m nt able to get it ... though tried a lot On Sat, Mar 24, 2012 at 1:05 PM, atul anand atul.87fri...@gmail.com wrote: it is modified longest increasing subsequence problem.. On 24 Mar 2012 12:26, Ratan

Re: [algogeeks] Find the maximum boxes which can fit each other?

2012-03-24 Thread atul anand
ok you need to put box into a box... so first requirnment willl be to sort on the basis of area of box. after this bcoz you are adding one box into another...the box you are putting inside big box ..shud have base length less than a big box or it wont fit in...even if its area is smaller.. now we

Re: [algogeeks] Find the maximum boxes which can fit each other?

2012-03-24 Thread sourabh datta
@atul.. i think what u meant is longest decreasing sequence.. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to

Re: [algogeeks] Find the maximum boxes which can fit each other?

2012-03-24 Thread atul anand
doesnt matterits depend on how u want to see output On 24 Mar 2012 16:33, sourabh datta sourabhd2...@gmail.com wrote: @atul.. i think what u meant is longest decreasing sequence.. -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To