Write a function that merges the sorted vectors @v1@ and @v2@ and returns the result, repeated elements included. For instance, the result of merging a vector with 2, 3 and 5 with a vector with 3, 5, 5 and 7 is a vector with 2, 3, 3, 5, 5, 5 and 7.
| C++ | |
| Java | |
| Python | |
| MyPy | |
@v1@ and @v2@ are sorted in nondecreasig order.
You only need to submit the required procedure; your main program will be ignored.