Quick Index
Overview


This chapter discusses concepts and algorithms for a dynamic array. Algorithms will be shown in pseudocode or human language text.

A dynamic array conforms (meets) the DynamicList ADT spec (blueprint)

A primary purpose of a DynamicArray is to solve the BIG DISADVANTAGE of a fixed array.

Let's take a one minute peek here... at how we ended our discussion on a fixed array. We concluded:


In this chapter we'll be learning the concepts of a DynamicArray whose purpose is:


Overcome the fixed array's big disadvantage of not supporting adds/removes

OO Review


Key oo review concepts to prep us for this chapter:


Fixed Array Review


Big Advantage
Recall that a fixed array indexed access is terrifically fast. And, the indexed access time does not increase as the size of the array increases.
Big Disadvantage
The size (number of elements) in the fixed array is fixed.

In other words, we can not add or remove elements.

References