-
I'm very intrigued on this and I'd like it if someone with experience could give me some advice on my question, it would be much appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
Emojees
Jan 22, 2025
Replies: 1 comment
-
Linear: It is a structure in which data elements are adjacent to each other. Examples of linear data structure include linked lists, arrays, queues, and stacks Non-Linear: It is a structure in which each data element can connect to two adjacent data elements. Examples of nonlinear data structures include graphs and trees I hope this helps, it's a brief example, but I think it makes sense. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kuefo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Linear: It is a structure in which data elements are adjacent to each other. Examples of linear data structure include linked lists, arrays, queues, and stacks
Non-Linear: It is a structure in which each data element can connect to two adjacent data elements. Examples of nonlinear data structures include graphs and trees
I hope this helps, it's a brief example, but I think it makes sense.