Multiple choice general knowledge science & technology

Which of the following data structures are indexed structures?

  1. linear arrays

  2. linked lists

  3. both of the above

  4. None of the above

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Linear arrays are indexed structures because elements can be accessed directly using their index position in constant time O(1). Linked lists are sequential access structures requiring traversal from the head.