Hi,
Im new to algorithms, so this might be a simple question for most of you
Lets say there are 5 trucks, each of which can take 100kg load. And they are filled to some extent randomly.
Let the free quantity be 40kg, 30kg, 20kg, 80kg, 60kg respectively. At any given time only single load comes.
Lets say a load of 25kg comes, we have to select the truck where it fits leaving less free space, here 30kg
Now the free quantities are 40, 5, 20, 80 and 60. Next if a l...