how swapping vectors is O(1). why it is not O(n).
hello @govilayush pls refer this for answer-> http://cplusplus.bordoon.com/dontforgettoswap.html