What type of data structure is an array?

  • Hierarchical
  • Linear
  • Non-linear
  • Sequential
An array is a linear data structure. It stores elements in a sequential manner, and each element can be accessed using an index or a key. Unlike non-linear structures such as trees or graphs, arrays have a straightforward and contiguous memory organization.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *