I was solving Number Theory quiz I, in question 4, there are shown 2 codes: code A and code B.
The only difference is that,
In code A, the vector is passed by value,
In code B, the vector is passed by reference.
In the answer, code A is given more time complexity. Why?
