Q. What are linear and nonlinear data Structures?
Answer =
Linear Data structure: A data structure is said to be linear if its elements form a sequence or a linear list, e.g., Array or linear lists, Stacks and Queues etc.
Non-Linear Data structure: A data structure is said to be non-linear if traversal of nodes is nonlinear in nature, e.g., Graphs, Trees etc.
Non-Linear Data structure: A data structure is said to be non-linear if traversal of nodes is nonlinear in nature, e.g., Graphs, Trees etc.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )