example of linear and non-linear data structures?

Answer Posted / santosh kumar chaudhary

A linear data structure is one in which, while traversing
sequentially, we can reach only one element directly from
another. Eg- Linked List, Array.

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a Breadth First Search? Give a few of its applications.

495


Is data structure a data type?

503


Define terminal nodes in a tree?

559


What is difference between tree and forest?

518


What is a cycle or a circuit?

607






How do you use the sort function?

475


Which is better hashmap or treemap?

501


What are the major data structures used in the rdbms?

557


What is collision in data structure?

506


Define structure property in a heap?

570


What is nonlinear data?

494


Which sorting is used in collections sort?

496


What are some of the best practices relating to the java collection framework?

513


Define primary clustering?

543


Write is a binary search tree? Write an algorithm and tell complexity?

516