Build the Sum This first problem is deceptively simple and doesn't require any special treatment or thinking. The result can be computed in linear time.