Learn C++ Online

Dynamic structures (part 1)

On this page
This lesson contains approximately 20 minutes of video content.

Considering our VectorInt

Questions

Q1

QDynamic Structures, Pt 1 Q1

This question is ungraded.

Our VectorInt's delete_at behavior's worst case (defined as the most elements moved) occurs when:

Q2

QDynamic Structures, Pt 1 Q2

This question is ungraded.

To access the idxth indexed element in an VectorInt object's array_, we must (select the best answer):

Q3

QDynamic Structures, Pt 1 Q3

This question is ungraded.

In the context of this lesson, we make the observation that an operation that can be performed quickly (defined as fewest elements moved/visited) into VectorInt's array_ is the: