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

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