Are linked lists considered linear or non-linear data structures? | Eklavya Online

Are linked lists considered linear or non-linear data structures?

A linked list is considered both linear and non-linear data structure depending upon the situation.

  • On the basis of data storage, it is considered as a non-linear data structure.
  • On the basis of the access strategy, it is considered as a linear data-structure.