The structure of a collection dictates which is the easiest way to divide up the collection. An array can be divided into a front and a back, a stack into a top and a remainder.

To add up the numbers on a stack: