Array Quick Start
Description
An array is a linear data structure that is simple and fast. It provides index-based access to a fixed-size, contiguous block of elements.
Creation
Import class
from dsa.array import Array # or the appropriate Array class
Creation
Create an array with a default capacity of 10 element:
a = Array()
Create an array with a capacity of 100 elements:
a = Array(100)
Common Operations
Access
Update
Append / Insert
Delete
Iteration / Traversal