Algorithm
Finite sequence of step by step instructions carried out to solve a problem
Bubble sort
In order - nothing occurs.
Not in order - swap the items.
In order when no swaps occur.
First-fir algorithm
Consider items in order they are given
First-fir decreasing
Algorithm requires the items to be in decreasing order before applying the algorithm
Full-bin packing
Uses inspection to select items to combine to full bins.
Remaining items are packed using the first-fit algorithm.