example of linear and non-linear data structures?

Answer Posted / description

Linear means, in order of sequence. ex: Arrays, starts from
0 to n number of items.

Non - Linear not in an order (or) random order sequence.
ex : Search Trees

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the slowest sorting algorithm?

499


Explain the Linked List

634


Why do we need linked lists?

518


What is data structure and its classification?

486


What is collections singletonlist?

490






What is a graph?

582


Which sorting algorithm is best for large data?

459


Is it legal to initialize list like this?

545


What is difference between arraylist and list?

460


How do you replace an element in an arraylist?

519


What is a data structure? What are the types of data structures? Briefly explain them

538


If we try to add duplicate key to the hashmap, what will happen?

481


How to do the intersection of two sorted arrays?

554


What is the best time complexity of bubble sort?

516


What is difference between list and linked list?

534