Computer-Science, Algorithms

Definition

A bin packing algorithm is an algorithm to sort things into categories/fill space.

First Fit Algorithm

Take the first item and place it in the first available “bin” working from one end. Repeat putting the next element in the next available bin.

First Fit Decreasing

Sort the elements in decreasing order first.