Write a function that returns a sorted vector with the union of two sorted vectors and . The result must have the elements in and the elements in , without repetitions. For example, the union of a vector with and a vector with is a vector with .
vector<double> array_union(const vector<double>& v1, const vector<double>& v2);
You only need to submit the required procedure; your main program will be ignored.
Input
6 1 2 2 5 5 7 4 2 3 3 7
Output
5 1 2 3 5 7