I did not get the size 8 of the vector, the doubling of the vector
Doubling of the vector buckets
@Kartikey-Saini-2865539636852100 Say at any moment the size of vector is 4. So when the vector becomes full it will double its size to 8. You may know the fact that vectors have variable size. When it becomes full it expands itself by doubling its size.
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.