Question: 1.4 The function removeDuplicates) takes an ordered vector v and removes all duplicate values from the vector. For instance, assume v initially has the integer

1.4 The function removeDuplicates) takes an ordered vector v and removes all duplicate values from the vector. For instance, assume v initially has the integer elements 2, 2, 6, 7, 7, 7, 10, 10, 11). The vector after a call to removeDuplicates () has the elements [2, 6, 7, 10, 11}. Complete the the implementation of the function. template
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
