Chapter 16: Problem 5
Explain why inserting additional elements into a vector object whose current size is less than its capacity is a relatively fast operation and why inserting additional elements into a Vector object whose current size is at capacity is a relatively slow operation.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.