V1.swap(v2) where v1 and v2 are vectors?

What is the time complexity when v1 is of size N
and v2 is of size M…