Quiz on vector container

Q3
how is the recursive function takes O(N^2) time complexity?
Q4
what is contiguous and non contiguous storage locations?
Q10
how can push function works in O(1) time, in each case??

@deck123 please post the questions here (also mention what is the correct answer and what you think should be)

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.