Saturday, February 21, 2009 09:07 PM
Hello All. please I need help urgently with this task. I cant seem to be able to do this. here is the task:
There are m squares with side lengths a1, a2, ..., am and a rectangle with the height and width equal to h and w respectively. Find a subset of the squares, which must be placed within the rectangle in such a way that they do not overlap, and cover the maximum area of a rectangle.
please all help me solve this task using Java RMI. I would be very grateful for your help.
Thanks in advance.