Array lists and linked lists both arrange elements one after another, so they are:
ALinear structures
BLayered structures
CLooping structures
DLattice structures
Answer & Solution
Correct answer: A. Linear structures
1. Their elements sit in a single sequence.
2. No branching or hierarchy is involved.
3. So they are linear structures.
_Source: OpenStax Introduction to Computer Science, Chapter 3, Data Structures and Algorithms._
Keep practising Data Structures and Algorithms
Browse all Data Structures and Algorithms questions for Coding Interview Prep, or explore more Computer Science topics.