Linear and non linear data structure

Briefly describe the term linear and non linear data structure?

E

Expert

Verified

Linear data structure : A linear data structure traverses data elements sequentially, in that only one data element can straightly be reached. Ex: Arrays, Linked Lists.

Non-Linear data structure : Every data item is affix to many other data items in a manner that is particular for reflecting relationships. The data items are not arranged in a sequential structure. Ex: Trees, Graphs

   Related Questions in Data Structure & Algorithms

©TutorsGlobe All rights reserved 2022-2023.