is it like that all the square should be of same size ? On Tue, Aug 2, 2011 at 11:54 AM, Kamakshii Aggarwal <[email protected]>wrote:
> Given a rectangle with known width and height, design an algorithm to fill > the rectangle using n squares(n is integer given) and make sure in the > result the wasting area is minimized. Length of square doesn't have to be > integer. > i.e, given width=3,height=2,n=5, one solution is that rectangle can be > filled with five 1x1 squares and the wasting area is 1. Another solution > could be filled with five 0.9x0.9 squares, but the wasting area is more than > first solution. > > -- > Regards, > Kamakshi > [email protected] > > -- > 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. > -- Sunny Aggrawal B-Tech IV year,CSI Indian Institute Of Technology,Roorkee -- 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.
