|
-
Jun 27th, 2002, 01:22 PM
#1
Thread Starter
PowerPoster
The REAL Sorting Problem thread
Here's the situation:
You have several rectangles of various heights. All are the same width - doesn't matter.
The top (Y position) of each rectangle is fixed - it can't be changed. If you were to put these rectangles in one column, many of them would overlap. That is not allowed.
Your job is to arrange the rectangles into the fewest number of columns possible.
OK, that's my job, but I don't know how to do it programically, so I need help. Anyone know how to do this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|