Vectors
CS361: Advanced Data Structures and Algorithms
Algorithm Animation
August 1999
Quick instructions:
-
when the animation window appears, select desired operations from the Algorithm
menu.
-
When execution pauses inside of an algorithm, press the continue
button to resume.
Things to Try:
-
Use repeated push_back's to examine the behavior of the vector as the underlying array gets full.
- Explore the difference between resize and reserve.
Email me at zeil@cs.odu.edu
This animation was prepared using the AlgAE animation framework.
AlgAE applets run under Microsoft
Internet Explorer 4.0 (or later) and Netscape
Communicator 4.05 (or later).