strings as elements, you concatenate them by using this algorithm. When you switch from operator + to operator *, you get the product of all elements. As another example, you should know that adjacent_difference() and partial_sum() transfer a range of absolute values into a range of relative values and vice versa.