Dynamic Array

A dynamic array is a variable sized data structure that allows adding and deleting elements.

Python Example

# Define an initial array using the list construct.
dynamic_array = ["a", "b", "c"]

# Add an element to the array.
dynamic_array.append("d")

# Use the array.
print(dynamic_array)