...

/

Challenge: Resizing a Vector

Challenge: Resizing a Vector

This lesson will check your knowledge of vectors.

Problem Statement #

Given a vector with an even number of elements, remove the last element from the input vector, and then the middle element. Then insert the sum of the remaining ...